24
Views
4
Comments
[Tiny Rich Text Editor 7] New Window target not working
tiny-rich-text-editor-7
Reactive icon
Forge asset by Lucas Soares

Hello everyone,

I'm having issues opening a new browser tab/windows with Tiny MCE Text Editor. 

The widget works as intended when writing content, the component is attached to a input field. When users adds a link into the copy and set as 'New Window' the result is still opening the link in the current window.

I've looked the GitHub documentation, scanned over the JS for any configuration to settings but nothing seems to change this behaviour. I'm limited by Edge as the browser only, company policy. I'm not aware of any configuration within the DOM that would cause this to happen either.

Any idea?

2024-07-16 17-36-51
Shradha Rawlani

Hi,

Try this, In widget content_calltoaction set this property


Regards

Shradha

UserImage.jpg
Md Mansur

Hi @Bob Tilley 


Please try Following Code :

"window.open('https://www.google.pt', 'newwindow','width:500,height:500'); return false;"


Thanks

Md Mansur

2024-06-24 04-49-49
Princi

Hello @Bob Tilley 

Here you can find the answer of your issue.

You just need to set the LinkTargetTypeDefault = "_blank"

Regards

Prince

2023-02-05 16-24-34
Bob Tilley

Sadly those config options are not available to this module:

Only these properties display within TinyMCE Editor:

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.