Test topic for Tasks.Item2254

With forced_root_block : false removed from TINYMCE_INIT, it behaves much better. See also: TestTopicWithDefaultTMCE

  • Place your cursor at the end of this line, then press enter three times.
It gets more "interesting" when you have tables and stuff. Users report the cursor jumps to previous paragraphs, rather than the top of the document, but I've been unable to replicate that.
  • Some more text, try enter three times from the end of this line here... It gets to the point where users feel they can't add any text beyond the last bullet in a document.

INIT params from TinyMCEPlugin, minus forced_root_block

  • Set TINYMCEPLUGIN_INIT = mode:"textareas", editor_selector : "foswikiWysiwygEdit", save_on_tinymce_forms: true, cleanup : true, theme : "advanced", convert_urls : true, relative_urls : false, remove_script_host : false, dialog_type: "modal", extended_valid_elements : "li[type]", setupcontent_callback : FoswikiTiny? .setUpContent, urlconverter_callback : "FoswikiTiny.convertLink", foswikipuburl_callback : "FoswikiTiny.convertPubURL", save_callback : "FoswikiTiny.saveCallback", debug:true, plugins : "table,searchreplace,autosave,paste,safari,inlinepopups,fullscreen,foswikibuttons,foswikiimage", foswiki_secret_id : "WYSIWYG content - do not remove this comment, and never use this identical text in your topics", foswiki_vars : { PUBURLPATH : "/pub", PUBURL : "http://www.foswiki.org/pub", WEB : "Sandbox", TOPIC : "TestTopicWithForceRootBlocks", ATTACHURL : "http://www.foswiki.org/pub/Sandbox/TestTopicWithForceRootBlocks", ATTACHURLPATH : "/pub/Sandbox/TestTopicWithForceRootBlocks", VIEWSCRIPTURL : "http://www.foswiki.org", SCRIPTSUFFIX: "", SCRIPTURL : "http://www.foswiki.org/bin", SYSTEMWEB: "System" }, theme_advanced_toolbar_align : "left", foswikibuttons_formats : [ { name: "Normal", el: "", style: null }, { name: "Heading 1", el: "h1", style: false }, { name: "Heading 2", el: "h2", style: false }, { name: "Heading 3", el: "h3", style: false }, { name: "Heading 4", el: "h4", style: false }, { name: "Heading 5", el: "h5", style: false }, { name: "Heading 6", el: "h6", style: false }, { name: "VERBATIM", el: "pre", style: "TMLverbatim" }, { name: "LITERAL", el: "span", style: "WYSIWYG_LITERAL" }, { name: "Protect on save", el: null, style: "WYSIWYG_PROTECTED" }, { name: "Protect forever", el: null, style: "WYSIWYG_STICKY" } ], paste_create_paragraphs : true, paste_create_linebreaks : false, paste_convert_middot_lists : true, paste_convert_headers_to_strong : false, paste_remove_spans: true, paste_remove_styles: true, paste_strip_class_attributes: "all", theme_advanced_buttons1 : "foswikiformat,separator,bold,italic,tt,colour,removeformat,separator,bullist,numlist,outdent,indent,separator,link,unlink,anchor,separator,attach,image,charmap,hr,separator,undo,redo,separator,search,replace", theme_advanced_buttons2: "tablecontrols,separator,code,hide,fullscreen", theme_advanced_buttons3: "", theme_advanced_toolbar_location: "top", theme_advanced_resize_horizontal : false, theme_advanced_resizing : true, theme_advanced_path: false, theme_advanced_statusbar_location : "bottom", keep_styles : false, content_css : "/pub/System/TinyMCEPlugin/wysiwyg_src.css,/pub/System/SkinTemplates/base.css,/pub/System/PatternSkinThemeFatWilly/style.css,/pub/System/PatternSkinThemeFatWilly/colors.css"
-- PaulHarvey - 15 Oct 2009
Topic revision: r1 - 15 Oct 2009 - 02:56:55 - PaulHarvey
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads