Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #37476, comment 5


Ignore:
Timestamp:
08/24/2016 04:09:09 PM (10 years ago)
Author:
azaozz

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37476, comment 5

    initial v1  
    33Of 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".
    44
    5 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.
     5Note 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.