문제

Is it possible with tinyMCE plugin that if there is some div having class .not-editable - it will be displayed inside tinymce, all this content will be divible normally, but user will not be able to edit anything inside it, the only thing user will be able to do is to remove/move it?

So for example it would work with this content:

<div class="editable">This text can be editet</div>

<div class="not-editable"><span>Whatever</span> here cannot be edited</div>
도움이 되었습니까?

해결책

Ok. I've figured it out.

You need to enable this plugin, and then anything with class mceNonEditable will be treated as sinlge character.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top