Tinymce编辑器更改不同长度文本行的大小

Tinymce编辑器更改不同长度文本行的大小,tinymce,Tinymce,我对TinyMCE有个奇怪的问题。当我将光标单击到底时,编辑器可能会根据线条的长度更改其大小、宽度/高度 演示中没有出现这种情况,我似乎无法找到我的选项与默认选项的根本区别 以下是光标位于每行末尾时相同文本但大小不同的示例: 还有谁见过这种行为吗 我的初始代码原样是: $('textarea.tinymce').tinymce({ // Location of TinyMCE script script_url : '/assets/modules/tiny_mc

我对TinyMCE有个奇怪的问题。当我将光标单击到底时,编辑器可能会根据线条的长度更改其大小、宽度/高度

演示中没有出现这种情况,我似乎无法找到我的选项与默认选项的根本区别

以下是光标位于每行末尾时相同文本但大小不同的示例:

还有谁见过这种行为吗

我的初始代码原样是:

$('textarea.tinymce').tinymce({
        // Location of TinyMCE script
        script_url : '/assets/modules/tiny_mce/tiny_mce_gzip.php',

        // General options
        mode : "textareas",
        theme : "advanced",
        plugins : "spellchecker",
        editor_selector : "tinymce",

        // Theme options
        theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,formatselect,fontselect,fontsizeselect",
        theme_advanced_buttons2 : "justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,forecolor,backcolor,spellchecker",
        theme_advanced_buttons3 : "",
        theme_advanced_buttons4 : "",
        theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "left",
        theme_advanced_statusbar_location : "bottom",
        theme_advanced_resizing : false,

        apply_source_formatting : true,
        paste_auto_cleanup_on_paste : true,
        paste_retain_style_properties : false,
        paste_strip_class_attributes : true,
        paste_remove_spans : true,
        paste_remove_styles : true,
        paste_remove_styles_if_webkit : true,
        cleanup : true,

        content_css : '/assets/modules/tiny_mce/themes/advanced/skins/default/myownstyle.css',

从我所能确定的,再看一遍

如果我有:

    apply_source_formatting : false,
    /*paste_auto_cleanup_on_paste : true,
    paste_retain_style_properties : false,
    paste_strip_class_attributes : true,
    paste_remove_spans : true,
    paste_remove_styles : true,
    paste_remove_styles_if_webkit : true,*/
    cleanup : true,
而且

 ed.onInit.add(function(ed) {
            ed.pasteAsPlainText = true; 
        });
然后文本以未格式化的形式出现,并且在单击文本的不同部分时也不会更改编辑器的大小


这对我来说很好。我不太在意捕捉粘贴的格式。

这是否会发生在tinymce演示页面上?正如我在帖子中所说的那样。不,演示中不会出现这种情况。我想我知道问题是什么,但我遇到了技术上的困难,还不能将帖子标记为已回答。