Ticket #3788 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

Upgrade to TinyMCE 2.1.0

Reported by: Nazgul Owned by: rob1n
Priority: normal Milestone: 2.2
Component: Administration Version: 2.1
Severity: normal Keywords: has-patch commit
Cc:

Attachments

3788.diff Download (62.9 KB) - added by rob1n 5 years ago.
3788.2.diff Download (55.2 KB) - added by rob1n 5 years ago.
Andy's changes
Picture 1.png Download (10.5 KB) - added by rob1n 5 years ago.
3788.3.diff Download (53.9 KB) - added by rob1n 5 years ago.
My latest patch
tiny.diff Download (50.2 KB) - added by andy 5 years ago.
My turn.
mce.diff Download (52.6 KB) - added by andy 5 years ago.
This one actually looks good.

Change History

  • Owner changed from anonymous to andy
  • Type changed from defect to enhancement
  • Keywords dev-feedback added; editor wysiwyg rte removed
  • Priority changed from low to normal
  • Keywords tinymce dev-feedback removed
  • Owner changed from andy to rob1n

rob1n5 years ago

  • Keywords has-patch commit added

comment:5   andy5 years ago

Thanks for doing that patch! Some issues in the diff that should be fixed before commit:

Changing wp-includes/js/tinymce/plugins/directionality/langs/en.js may break translations.

inlinepopups/editor_plugin.js -287,+392 undoes a WP-specific feature: "close" buttons on the left for macs.

inlinepopups/editor_plugin.js -561,+684 removes a WP focus fix. See comment in source and test.

tiny_mce.js -5186,+5223 might suck.

themes/advanced/jscripts/link.js -25,+25 should not be changed. -58,+57 looks like it'll break anchor-only links people sometimes try to add. I think these are both WP changes.

themes/advanced/link.htm should not be changed. This is WP stuff that sets focus and reverses the button order and kills enter-key submits.

themes/advanced/css/editor_popup.css removes stuff marked as WordPress customizations.

themes/advanced/image.htm changes are all WP custom, shouldn't be changed.

themes/advanced/source_editor.htm same deal.

Updating TinyMCE is probably easier if you patch from a diff between TinyMCE releases. Diffing against WP's implementation requires this kind of attention.

rob1n5 years ago

Andy's changes

rob1n5 years ago

rob1n5 years ago

My latest patch

andy5 years ago

My turn.

andy5 years ago

This one actually looks good.

comment:6   andy5 years ago

mce.diff applies the upgrade and fixes all of the interaction issues I could find. Ready for commit and broader testing.

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

(In [5256]) Upgrade TinyMCE to 2.1.0. Props andy. fixes #3788

Note: See TracTickets for help on using tickets.