Opened 5 years ago

Closed 5 years ago

#1484772 closed Feature Requests (fixed)

TinyMCE 3.0

Reported by: tinymce Owned by: estadtherr
Priority: 5 Milestone: 0.2-alpha
Component: Client Scripts Version: 0.1-rc2
Severity: normal Keywords:
Cc: estadtherr

Description

TinyMCE 3.0 final is released. It would be great if we could switch to it.

Change History (4)

comment:1 Changed 5 years ago by till

  • Owner set to estadtherr

Assigning to Eric.

He will have to decide if any TinyMCE stuff makes it into 0.1-stable.

comment:2 Changed 5 years ago by till

  • Milestone changed from 0.1-stable to 0.1.1

comment:3 Changed 5 years ago by seansan

  • Cc estadtherr added

Added code suggestion to incorporate rtl (from dev@)

1. program/js/editor.js

   add 'directionality' keyword to plugins array ( it may be there already )
   and 'rtl,ltr' to theme_advanced_buttons2 array  ( I put them last but you may
    choose any order )
   the latest version of tinymce contains directionality plugin.
   just verify that it exists in the subdir called plugins.

    DO NOT FORGET THE COMMA AT THE END OF THE ARRAY'S DEFINITION !
           plugins : 'directionality,emotions.......),
           theme_advanced_buttons2 : '.......,ltr,rtl',
		   
2. If you wish to use ENTER key and not SHIFT-ENTER for line feed in the html editor,
    append the following text to the css files:
	
     skins/default/editor_ui.css
     skins/default/editor_content.css
     skins/default/editor_popup.css
	 
   and/or any skins/<any language>/ you wish

3. This is the text to append - from the next line till the end of the document

/* Fix for MS Office style paragraphs (MsoNormal) and to simulate ENTER for linefeed */
p { margin: 0px; padding: 0px; }

/* Fix for MS Office unindeted lists and to simulate ENTER for linefeed */
.unIndentedList { margin: 0px; padding: 0px; list-style-position: inside; }

.unIndentedList li { padding: 0px; }

/* Fix for MS Office UL lists and to simulate ENTER for linefeed */
ul { margin-top: 0px; margin-bottom: 0px; }

comment:4 Changed 5 years ago by estadtherr

  • Resolution set to fixed
  • Status changed from new to closed

Upgraded to TinyMCE 3.0 and added the directionality plugin as requested.

Note: See TracTickets for help on using tickets.