How to force a node inside tiny mce ?
Posted
by
KutePHP
on Stack Overflow
See other posts from Stack Overflow
or by KutePHP
Published on 2011-01-06T07:15:35Z
Indexed on
2011/01/06
9:53 UTC
Read the original article
Hit count: 271
tinymce
Hi All,
I'm using tiny mce for my project and want to validate the node inside the tiny mce. On click of a text element, let's say a paragraph with some id, I load editor for the element. But, sometimes if user replaces the whole content, the node and its HTML is lost. I want to retain this node and only the content is removed. The node can be a paragraph or heading or ul or ol.
EDIT : I'm providing dummy text such as "Lorem epsum .....". User will be removing this dummy text and add his content.
How can I accomplish this ?
© Stack Overflow or respective owner