<![CDATA[ Rich Text Editor with Invisible Element Support? - My Forums]]> https://forums.modx.com/thread/?thread=85795 <![CDATA[Re: Rich Text Editor with Invisible Element Support?]]> https://forums.modx.com/thread/85795/rich-text-editor-with-invisible-element-support#dis-post-475286 Quote from: dinocorn at Aug 18, 2013, 05:32 AM
Hiding elements seems counter to "What-You-See-Is-What-You-Get"

No, in fact I mean the opposite. I suggest we create visual symbols to represent tags in the editor, perhaps lock them based on permissions. I would like to prevent editors from accidentally altering them, or give them a better understanding of the options available.

OOPS, I just realized I mocked up the symbols within code editor and not the WYSIWYG editor! Imagine it in the one of your choice.


]]>
bwente Aug 18, 2013, 02:42 PM https://forums.modx.com/thread/85795/rich-text-editor-with-invisible-element-support#dis-post-475286
<![CDATA[Re: Rich Text Editor with Invisible Element Support?]]> https://forums.modx.com/thread/85795/rich-text-editor-with-invisible-element-support#dis-post-475272 Quote from: sottwell at Aug 18, 2013, 05:58 AM
Indeed, hiding elements is a good way to have editors accidenally delete the whole bit where the element tags are supposed to be. What is needed is for a modified RTE that absolutely ignores MODx tags - no messing around with the & in them, no "forced root block" enclosing them in p (or whatever) tags.

Ignoring MODX tags is a battle I've yet to win with Redactor. One of the challenges is the nature of JavaScript is to decode entities like [ and ] when interacting with .html() like most RTEs do.

Ideally, I'd like to make that never happen inside pre or code tags.]]>
dinocorn Aug 18, 2013, 06:37 AM https://forums.modx.com/thread/85795/rich-text-editor-with-invisible-element-support#dis-post-475272
<![CDATA[Re: Rich Text Editor with Invisible Element Support?]]> https://forums.modx.com/thread/85795/rich-text-editor-with-invisible-element-support#dis-post-475270 sottwell Aug 18, 2013, 05:58 AM https://forums.modx.com/thread/85795/rich-text-editor-with-invisible-element-support#dis-post-475270 <![CDATA[Re: Rich Text Editor with Invisible Element Support?]]> https://forums.modx.com/thread/85795/rich-text-editor-with-invisible-element-support#dis-post-475267 dinocorn Aug 18, 2013, 05:32 AM https://forums.modx.com/thread/85795/rich-text-editor-with-invisible-element-support#dis-post-475267 <![CDATA[Rich Text Editor with Invisible Element Support?]]> https://forums.modx.com/thread/85795/rich-text-editor-with-invisible-element-support#dis-post-472933
]]>
bwente Jul 25, 2013, 03:29 AM https://forums.modx.com/thread/85795/rich-text-editor-with-invisible-element-support#dis-post-472933