JQuery TinyMCE Add / Modify Link - Cannot Insert In IE

When using jQuery TinyMCE, select the text and try adding a hyperlink. The Add / Edit Link tinymce popup will appear, but when I try to paste the URL, I can’t enable the Insert IE in IE, Ctrl + V works.

This is for IE browsers only. I can paste in Chrome and FF.

This is how I set up my tinymce.

:{ theme: "advanced", mode : "specific_textareas", editor_selector: "richtext-editor", theme_advanced_toolbar_location:"top", theme_advanced_toolbar_align:"left", theme_advanced_buttons1:"bold,italic,underline,strikethrough,|,fontsizeselect,forecolorpicker,|,link,unlink,|,bullist,numlist,|,outdent,indent,|,justifyleft,justifycenter,justifyright,|,cut,copy,paste,pastetext,|,undo,redo", theme_advanced_buttons2:"", theme_advanced_buttons3:"", theme_advanced_buttons4:"", plugins:"inlinepopups,paste", theme_advanced_path : false, inline_styles : true, paste_remove_styles: true, paste_retain_style_properties: "", paste_convert_headers_to_strong : true, invalid_elements : "img" //plugins:"advlink,iespell,inlinepopups,media,print,contextmenu,paste" } 

Note:

Paste in the editor itself works fine in all browsers. I also tried to enable the context menu, but no luck.

I also double checked that the url that I would like to paste is actually copied to the clipboard

Thanks.

+4
source share
1 answer

I found a problem.

It was an inlinepopups plugin that turned off clipboard cut / copy / paste in a popup window.

Removing inlinepopups did the trick, and now the plugin url in the Add / Edit Link popup menu works in all browsers.

It should be noted: it is recommended to disable this plug-in only for IE, because it is a useful plug-in, everything that this plug-in does, it helps to process these pop-ups as embedded pop-ups, so that there are no problems where the site or browser has a pop-up blocker .

thanks

-

HRN

+1
source

Source: https://habr.com/ru/post/1440201/


All Articles