Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#37476 closed defect (bug) (fixed)

Update TinyMCE to 4.4.1

Reported by: azaozz's profile azaozz Owned by: azaozz's profile azaozz
Milestone: 4.6 Priority: normal
Severity: normal Version: 4.6
Component: TinyMCE Keywords:
Focuses: Cc:


Has several bug fixes and enhancements. Also fixes two regressions with wpViews. Changelog:

Attachments (1)

37476.patch (881.9 KB) - added by azaozz 8 years ago.

Download all attachments as: .zip

Change History (6)

#1 @azaozz
8 years ago

Related: #37427.

8 years ago

This ticket was mentioned in Slack in #core-editor by azaozz. View the logs.

8 years ago

#3 @azaozz
8 years ago

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

In 38155:

TinyMCE: upgrade to 4.4.1, changelog:

See #37427.
Fixes #37476.

#4 follow-up: @pavelevap
8 years ago

Is it possible to disable smart_paste TinyMCE option with standard WP hook somehow? I am not very familiar with this API and we had some requests to remove this feature. Users have for example links to high quality photos and now when they edit particular post, these links are replaced by images :-(

#5 in reply to: ↑ 4 @azaozz
8 years ago

Replying to pavelevap:

Of course. You can use the tiny_mce_before_init filter and set smart_paste to false. This will turn off converting image URLs to <img> tags on paste, but will not stop making links from selected text when pasting an URL "on top".

Note that inserting images only happens when pasting. Existing URLs to images in the post_content are not converted to <img> tags on editing or saving a post. After the img is inserted you have two steps undo: first you get the pasted URL as text, second removes anything you've pasted.

Last edited 8 years ago by azaozz (previous) (diff)
Note: See TracTickets for help on using tickets.