Hi Ken,
Thanks.The problem is when we save the article. The content we got from CuteEditor contains a bug. The html file is missing "<". After looking at the html, I found the root cause of it.
Try the above example again, go to "HTML" tab, you will find that there is an extra
"/" before "h1" and "p", "body" and "html" in the html file as shown below. If you remove it, and add it before "h1" and "p",
"body" and "html" it works fine.
<html>
<head>
</head>
<body>
<div id="1" contenteditable="false" unselectable="ON" isrequired="0"><strong>Body</strong></div>
<div><br />
</div>
<div><br />
before</div>
<div> </div>
<div>
<div class="dp-highlighter">
<div class="bar"></div>
<ol class="dp-xml">
<li class="alt">
<div><span class="tag"><</span><span class="tag-name">html</span><span class="tag">></span><span> </span></div>
</li>
<li>
<div><span> </span></div>
</li>
<li class="alt">
<div><span></span><span class="tag"><</span><span class="tag-name">body</span><span class="tag">></span><span> </span></span></div>
</li>
<li>
<div><span> </span></div>
</li>
<li class="alt">
<div><span></span><span class="tag"><</span><span class="tag-name">h1</span><span class="tag">></span><span>My First Heading</span><span class="tag"></</span><span class="tag-name">h1</span><span class="tag">></span><span> </span></span></div>
</li>
<li>
<div><span> </span></div>
</li>
<li class="alt">
<div><span></span><span class="tag"><</span><span class="tag-name">p</span><span class="tag">></span><span>My first paragraph.</span><span class="tag"></</span><span class="tag-name">p</span><span class="tag">></span><span> </span></span></div>
</li>
<li>
<div><span> </span></div>
</li>
<li class="alt">
<div><span></span><span class="tag"></</span><span class="tag-name">body</span><span class="tag">></span><span> </span></span></div>
</li>
<li>
<div><span> </span></div>
</li>
<li class="alt">
<div><span></span><span class="tag"></</span><span class="tag-name">html</span><span class="tag">></span><span> </span></span></div>
</li>
</ol>
</div>
</div>
<br />
after
</body>
</html>
Thanks, Qian