Textarea Support Download 2.11

This component/theme works with latest OSSN version.
German ~Z~ Man 2 years ago

Textarea Support

This is a helper component in first place working under the hood and taking care of proper WYSIWYG editor initialization.

Version 2.5 comes with multi-language support now. That is, if you surround your text like ...

<div class="textarea-language-en">
Your English text will be displayed here ...

<div class="textarea-language-de">
Dein deutscher Text w├╝rde hier erscheinen ...

... depending on the last two characters of textarea-language-XX using

XX = de (German) or XX = el (Greek) or XX = en (English) or XX = eo (Esperanto) or XX = es (Spanish) or XX = fr (French) or XX = he (Hebrew) or XX = it (Italian) or XX = id (Indonesian) or XX = ja (Japanese) or XX = nl (Dutsch) or XX = pt (Portugese) or XX = ro (Romanian) or XX = ru (Russian) or XX = tr (Turkish) or XX = zh (Chinese)

only that part of the texarea content will be displayed which complies to the currently chosen language of the logged-in member, while the other parts are hidden.

Note that Version 2.8 comes with a much stricter dependency check. That is: As long as TextareaSupport is in use by other active components (like Blogs, Bio, etc) it can neither be disabled nor deleted. Thus, in order to disable or delete TextareaSupport you have to deactivate all dependent components FIRST. The new layout of Ossn 5.3's component page will list these components like that now:

enter image description here


V 2.11

  • allow usage of target="_blank" attribute in external links

V 2.10

  • experimental but hopefully working fix for issues with Chrome on Chromebooks as reported on the Blog component page by Everwijn Overberg

V 2.9

  • requirements adapted to Ossn 5.4

V 2.8

  • added support for responsive images
  • enhanced set of allowed HTML tags like <span style="something....">YOUR CUSTOM STYLE</span>
  • compatibility with TinyMCE 5.x

V 2.7

  • allow embedding of Youtube and Vimeo videos

V 2.6

  • Indonesian language file added, license update

V 2.5

  • New setting "Javascript and SVG support". Since it has been shown that the SVG support added with version 2.2 brings the same dangers as the activation of Javascript, both options have been combined and can only be activated or deactivated together now.
  • added multilanguage support

V 2.4

  • included site's bootstrap css now to achieve better 1:1 results between editor preview and final view on site

V 2.3

  • fixed issue with disappearing input field labels

V 2.2

  • added SVG Support for Ossn WYSIWYG editor (any valid SVG may be entered via Tools -> Source code now)
  • added missing language files

V 2.1

  • handling of field label fixed

V 2.0

  • initial release

Developer's note:
Don't code any <textarea>....</textarea> elements anymore.
Instead, use the built-in plugin of this component like

echo ossn_plugin_view('input/textarea', array(
    'label' => 'LABEL_OF_TEXTAREA',
    'class' => 'ossn-editor',
    'name'  => 'NAME_OF_TEXTAREA',
    'value' => html_entity_decode(CONTENT_OF_TEXTAREA)

especially if you want to pass your field to TinyMCE.

As TextareaSupport takes care of proper TinyMCE loading and initialization, there's no more need of referencing the editor's javascript in your own component in any way.

Catalan Gordon S. Replied 2 months ago

Thanks Arsalan,

That did the trick, and now everything is working as it should.


German Arsalan Shah Replied 2 months ago


Please see the component description below :

enter image description here

You can not enable/disable until you disable Used by About User, Site Announcement that mean you need to disable About User, Site Announcement component first before performing any action on text area component.

Catalan Gordon S. Replied 2 months ago

Hi Bob,

Tried that, but the only change to the Textarea component is the addition at the bottom of the expanded component of "Used by About User, Site Announcement". Still no buttons to Enable/Disable or Delete. The Component Updates 1.1 seems to be the latest version. I don't use Country Selector so it is Disabled.

Thanks for your input.


German Bob Weston Replied 2 months ago

Hi Gordon,

I can see by your picture that you are using ComponentUpdates 1.1 which is not compatible with the current OSSN, it needs to be updated.
Disable ComponentUpdates 1.1 and the text will appear for what you need to disable.
This is more than likely "Country Selector" if you have that installed.


Catalan Gordon S. Replied 2 months ago

enter image description here

German ~Z~ Man Replied 2 months ago

Please provide a screenshot of that uncollapsed TextareaSupport field.

Catalan Gordon S. Replied 2 months ago

Sorry, I meant to also mention that neither my blog nor my bio components work when I click on them in my profile. The screen changes to one with the appropriate heading at the top, but there is no functionality in either component.

Catalan Gordon S. Replied 2 months ago

As I stated in my first message, I disabled my blog and bio components, but when I then uncollapse the Textarea Support there are NO buttons at all. No Enable, no Disable, and no Delete. Also, there is nothing showing what Components rely on the Textarea Support component. The only thing showing at the very top of the expanded Textarea Support page is "adds support for textarea input fields with enhanced TinyMCE editor options" So your explanation of going to that site and following the instructions there does not resolve my problem. Any other suggestions will be welcomed. And I do need the Bio and Blog components to work.

German ~Z~ Man Replied 2 months ago

simply follow the steps as explained in https://www.opensource-socialnetwork.org/discussion/view/4571/blog-add-on-links-not-work-correctly

And no, you don't need TextareaSupport as long as don't install components which depend on it.

Catalan Gordon S. Replied 2 months ago

I just tried to upgrade the component Textarea 2.10 to 2.11. However when I open the 2.10 component I do not see the usual options of Disable or Delete. Therefore I cannot install the 2.11 upgrade. How do I get around this? I tried disabling the blogs and bio components, but it made no difference. My OSSN version is 5.5. Further, in my Components list, Textarea Support shows with a green tick mark, so is Enabled. But in the Configure function when I click on Textarea Support it shows as Disabled. They can't both be correct, so why is this happening? Finally, do I really need this component?


Developer: ~Z~
License ossnv4
Type: Tools
Minimum Requirement: 5.4
Latest Version: 2.11
Last Updated 2 months ago
Repository Url View Repository