让ckeditor 在线编辑器 不过滤html,head,title

阅读 62

2023-04-10

fullPageSince: 3.1 Indicates whether the contents to be edited are being input as a fullHTML page. A full page includes the <html>,<head>, and <body> elements.The final output will also reflect this setting, including the<body> contents only if this setting is disabled. 
  
config.fullPage = true;Default Value:false

修改目录下面的

config.js
 
CKFinder.customConfig = function( config )
{
    // Define changes to default configuration here. For example:
    // config.skin = 'v1';
     config.language = 'zh-cn';
     config.fullPage = true;//允许包含html标签
};

精彩评论(0)

0 0 举报