WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#37476 closed defect (bug) (fixed)

Update TinyMCE to 4.4.1

Reported by: azaozz Owned by: azaozz
Milestone: 4.6 Priority: normal
Severity: normal Version: 4.6
Component: TinyMCE Keywords:
Focuses: Cc:
PR Number:

Description

Has several bug fixes and enhancements. Also fixes two regressions with wpViews. Changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt

Attachments (1)

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

Download all attachments as: .zip

Change History (6)

#1 @azaozz
4 years ago

Related: #37427.

@azaozz
4 years ago

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


4 years ago

#3 @azaozz
4 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: https://www.tinymce.com/docs/changelog/#version441-july262016.

See #37427.
Fixes #37476.

#4 follow-up: @pavelevap
3 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
3 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 3 years ago by azaozz (previous) (diff)
Note: See TracTickets for help on using tickets.