Jsf rich:编辑器破坏了html?

Jsf rich:编辑器破坏了html?,jsf,tinymce,richfaces,Jsf,Tinymce,Richfaces,奇怪的行为。我使用具有以下属性的rich:editor:(删除无关数据) 现在我的问题是,每当我加载这样的现成html文本时(在源代码模式下): 多恩 加载菜单后,导航到并打开图像编辑器 更改为VisualMode,然后返回SourceMode,我看到编辑器删除了我的所有html数据,现在源模式是: <p>When the menu loads, navigate to and open Chul Muzal.</p> 加载菜单时,导航至并打开Chul Muzal

奇怪的行为。我使用具有以下属性的rich:editor:(删除无关数据)

现在我的问题是,每当我加载这样的现成html文本时(在源代码模式下):


多恩
加载菜单后,导航到并打开图像编辑器

更改为VisualMode,然后返回SourceMode,我看到编辑器删除了我的所有html数据,现在源模式是:

<p>When the menu loads, navigate to and open Chul Muzal.</p>
加载菜单时,导航至并打开Chul Muzal

有人知道为什么会这样吗


谢谢

TinyMCE通常只编辑HTML片段(body标记之间的位),而不是整个页面。但是,如果加载“fullpage”插件(),它将编辑完整页面,并提供一个对话框来编辑页面标题等属性的选项

问候,

阿德里安·萨顿

<html lang="en" xml:lang="en">
<head>
<title>Done</title>
</head>
<body style="direction: ltr; font-size: medium; color: #0000FF;">
    <p>When the menu loads, navigate to and open Image Editor.</p>
</body>
</html>
<p>When the menu loads, navigate to and open Chul Muzal.</p>