Javascript 将html实体显示为纯文本的编辑器

Javascript 将html实体显示为纯文本的编辑器,javascript,php,jquery,html,ckeditor,Javascript,Php,Jquery,Html,Ckeditor,我在php中使用过ckeditor,但它将换行符和锚定标记等html实体显示为纯文本。我看到了其他链接,并对ckeditor的配置进行了更改,但它不起作用 Hello,<br>Please join me <a href='https://.........'>link</a> 希望您直接显示值。如果是,请使用@Html.Raw(value) @Html.Raw(值) 在保存文档后输入或查看时?查看时,我得到html CKEDITOR.editorConf

我在php中使用过ckeditor,但它将换行符和锚定标记等html实体显示为纯文本。我看到了其他链接,并对ckeditor的配置进行了更改,但它不起作用

Hello,<br>Please join me <a href='https://.........'>link</a> 

希望您直接显示值。如果是,请使用
@Html.Raw(value)

@Html.Raw(值)

在保存文档后输入或查看时?查看时,我得到html
CKEDITOR.editorConfig = function (config) {
    config.enterMode = CKEDITOR.ENTER_P; 
    config.language = 'es';
    config.uiColor = '#F7B42C';
    config.height = 300;
    config.toolbarCanCollapse = true;
    config.allowedContent = true;
    config.entities = true; 
    config.ignoreEmptyParagraph = false;

   };
  CKEDITOR.replace('email_content');
<textarea id="email_content" name="email_content">@Html.Raw(value)</textarea>