0

我的 dot net web 应用程序正在使用 Tinymce 编辑器从用户那里获取文本。现在粘贴的文本在 IE 中保留了确切的格式,但是在 chrome 中,每个 para 之后都会添加额外的空段落,所以基本上在文档中每个实际 para 之间有两三个空行我正在生成认为应用程序在解析原始 html 后

我使用的是最新版本的编辑器,下面是初始化文件的详细信息:

tinyMCE.init({
            mode: "specific_textareas",
            'force_br_newlines': true,
            'force_p_newlines': false,
            'forced_root_block': false,
            editor_selector: "rich_text_editor_coi",
            plugin: "paste"
    });

是否有任何设置或方法可以保留 chrome 中的源格式

4

0 回答 0