0
タグにTinyMCEとShift + Enterの問題があります。TinyMCEシフトをULに入力
最初は非常に古いバージョンのTinyMCEを使用していました。 並べ替えられていないリストで「Enter」を押すと、新しいドット(< li>)が作成されました。 並べ替えられていないリストで「Shift + Enter」を押すと、新しい空白(< br />のような)が作成されました。
今問題は、私がTinyMCEの新しいバージョンにアップグレードしたことです。 "Shift + Enter"はもはや動作していないので、空白(< br />)の代わりに新しいドット "< li>"を作成します。
のTinyMCEはここで定期 上では、私のTinyMCEはconfigです:Moxiecodeはその後、TinyMCEの動作を変更するよう
$('textarea.tinymce').tinymce({
script_url : 'js/tinymce/jscripts/tiny_mce/tiny_mce.js',
language : 'nl',
theme : "advanced",
plugins : "safari,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,searchreplace,print,contextmenu,paste,directionality,noneditable,visualchars,nonbreaking,xhtmlxtras,template,imagemanager",
theme_advanced_buttons1 : "bold,italic,underline,forecolor,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|, formatselect",
theme_advanced_buttons2 : "copy, pasteword,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,code",
theme_advanced_buttons3 : "hr,removeformat,visualaid,|,tablecontrols,iespell",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_resizing : true,
content_css : "style/tiny-mce.css",
theme_advanced_blockformats : "p,h1,h2,h3,h4,h5,h6",
forced_root_block : false,
force_br_newlines : true,
force_p_newlines : false,
paste_create_paragraphs : false,
paste_create_linebreaks : false,
paste_use_dialog : false,
paste_auto_cleanup_on_paste : true,
paste_convert_middot_lists : false,
paste_unindented_list_class : "unindentedList",
paste_convert_headers_to_strong : true,
convert_urls : false,
width : "802px"
});