swatme
Well-known member
Hi guys
anyone knows why when I put placeholder="type here" in text area of editor template, it wont show?
i want to have a default text inside the text area when you create thread and it will be gone when user clicks on it. exactly the same what happens in thread title
i tried adding the placeholder="type here" but still it wont show
help please... thanks
anyone knows why when I put placeholder="type here" in text area of editor template, it wont show?
i want to have a default text inside the text area when you create thread and it will be gone when user clicks on it. exactly the same what happens in thread title
i tried adding the placeholder="type here" but still it wont show
<xen:if is="{$showWysiwyg}">
<textarea name="{$formCtrlNameHtml}" placeholder="type here" id="{$editorId}_html" class="textCtrl MessageEditor BbCodeWysiwygEditor {$editorOptions.extraClass}" style="display:none; {xen:if $height, 'height: {$height};'}" data-css-url="css.php?style={xen:urlencode $visitorStyle.style_id}&css=editor_contents&d={xen:urlencode $visitorStyle.last_modified_date}" data-dialog-url="index.php?editor/dialog&style={$visitorStyle.style_id}" {xen:if $editorOptions.autoSaveUrl, 'data-auto-save-url="{$editorOptions.autoSaveUrl}"'} {xen:if $editorOptions.json, 'data-options="{xen:escape {xen:helper json, $editorOptions.json}}"'}>{$messageHtml}</textarea>
<noscript><textarea name="{$formCtrlName}" id="{$editorId}" class="textCtrl MessageEditor {$editorOptions.extraClass}" style="{xen:if $height, 'height: {$height};'}">{$message}</textarea></noscript>
<xen:else />
<textarea name="{$formCtrlName}" id="{$editorId}" class="textCtrl MessageEditor {$editorOptions.extraClass}" style="{xen:if $height, 'height: {$height};'}">{$message}</textarea>
</xen:if>
help please... thanks