Prosilver Location:
After:
Code: Select all
<fieldset>
<legend>{L_HTML_REPLACEMENT}</legend>
<p>{L_HTML_REPLACEMENT_EXPLAIN}</p>
<dl>
<dt><label for="bbcode_tpl">{L_EXAMPLES}</label><br /><br /><span>{L_HTML_REPLACEMENT_EXAMPLE}</span></dt>
<dd><textarea id="bbcode_tpl" name="bbcode_tpl" cols="60" rows="8">{BBCODE_TPL}</textarea></dd>
</dl>
</fieldset>
Code: Select all
<fieldset>
<legend>{L_BBCODE_HELPLINE}</legend>
<p>{L_BBCODE_HELPLINE_EXPLAIN}</p>
<dl>
This is mean for the WYSIWYG editor. It is supposed to allow having the editor to behave as an RTE or a real WYSIWYG for that specific BBCode.
As discussed here: https://area51.phpbb.com/phpBB/viewtopi ... 08&t=35703
For example, for some BBCode such as the
[spoiler]
BBcode probably work best as an RTE (and nearly as an WYSWIYG). It could be such that the spoiler is always open and not closing or without the toggle button at all, etc... There are also BBCode that are hellish complex and require activating and deactivating the contentEditable attribute otherwise the user can break the HTML structure rendering the process way harder (or impossible) for the editor to translate between BBCode and HTML.