Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tinymce]

TinyMCE is a web-based JavaScript HTML WYSIWYG editor control available as open source and a cloud-based API. Use this tag for questions regarding the usage of TinyMCE and its integration into CMS and other web based applications.

0
votes
0answers
14 views

Magento 2.3.1 not loading correct javascript files (tinymce)

I've upgraded from Magento 2.2.6 with Theme Ves Fresh 2. I have tried to clean all caches delete static folder and restart Varnish, but had no luck so far. The errors include: GET https://shop....
0
votes
0answers
18 views

Magento editor making code disappear

In my Magento admin panel, some of the codes are mystically getting disappeared. When I put this code in the editor <li class="level1 mmegamenu-644"><a class="mobile-click-anchor" ...
4
votes
1answer
127 views

TinyMCE Issues in Magento 2.3

I'm having some issues with TinyMCE, which is causing the editor not to work on CMS pages and causes products not to load when attempting to edit them. When these issues are happening, I see this in ...
1
vote
0answers
14 views

TinyMce Magento2 2.3 Source Code Symbol / Setting

With the 2.3 version of Magento2 the TinyMce Editor lacks the possibility to edit the source code. how can I activate this setting with the tinymce editor
3
votes
1answer
80 views

Magento 2 CMS page Editor not showing

I am working on magento 2.3.0 When I try to edit a cms page on the admin, the content section is blank, with console error that tinymce is missing or 404. please see attached screenshots.
2
votes
2answers
227 views

Magento 2.3 - TinyMCE4 Toolbar and Plugin Configuration

Updated to Magento 2.3 which includes the TinyMCE v4 editor, but the default layout does not include options like "Color Picker" or "Code". How should I appropriately modify the tinymce.init config ...
1
vote
1answer
45 views

Magento2 : Using RequireJS module conditional of whether it exists

It is possible to use RequireJS to inject some modules into a custom script, for example: define([ 'jquery', 'tinymce', 'Magento_Ui/js/modal/modal' ], function($, modal, tinymce) { "...
2
votes
1answer
148 views

Programmatically create a wysiwyg editor for frontend magento 2.3

I don't see any examples in frontend of magento for this case. Wonder how to add editor field from php class instead template When try to call wysiwygConfig->getConfig() in my block class i got error ...
1
vote
0answers
177 views

How can I make widgets show properly in tinymce in magento 2.3?

I'm trying to add the tinymce wysiwyg editor in a custom field and make it look like in CMS pages however the widgets that I insert appear with an error image X Any idea how to fix this issue? I ...
2
votes
0answers
63 views

Magento 2.3.0 unable to insert images in tinymce content

I notice that I couldn't insert images when adding products in tinymce content part. When I click on Insert Image button, I saw error as image below I granted access to /media directory 777. I ...
0
votes
1answer
239 views

WYSIWYG Editor Insert Image Browse Button not Showing on frontend

I have a problem with insert image popup. The popup opens, but I can't see the browse button so I can't upload an image from frontend. What can be the problem? On phtml i have used below jquery to ...
2
votes
0answers
118 views

Magento2 admin order history editor issue

I have added tinyMCE editor in Order status history for comment field, the issue is when i get ajax response, editor disappears instead its showing normal textarea field, please find below screenshots ...
1
vote
0answers
77 views

TinyMCE (WYSIWYG) in DynamicRows bug

TinyMCE (WYSIWYG) is not showing up in a form field in Adminhtml DynamicRows container when more than one instance of the row is called. <fieldset name="tab"> <argument name="data" xsi:...
1
vote
0answers
72 views

Magento 2 – default admin editor -where is settings js code?

I want to change admin editor setting but not found config js code, please guys share me JS code path so i can change editor settings.
0
votes
0answers
27 views

TinyMCE uploader popup empty?

TinyMCE uploader popup empty.. there is no files or folders appear there is no problem in permissions any body can help ? and this image when I try to upload image
3
votes
1answer
168 views

Magento 2 - Add spellchecker to tiny mce wysiwyg editor as plugin

Trying to add the spellchecker to tiny mce in Magento 2 but not able to get it working. As a start I used this tutorial for Magento 1 http://www.danneh.org/2012/10/enabling-spellchecker-magento-...
0
votes
0answers
292 views

Problems after patch SUPEE-10752

I recently installed Magento Patch SUPEE-10752 for Magento CE 1.9.2.4 and I am now experiencing some issues which I didn't have before the patch. First, I can no longer upload images though the admin ...
0
votes
0answers
14 views

Magento 2.x Tiny MCE background image plugin

I am using Magento 2.2 and want to be able to edit the background image in Tiny MCE. I have searched around and have not been able to find a plugin to edit the background image. Anyone know of a ...
0
votes
1answer
119 views

TinyMCE - Update Validation Config Settings to allow <div> inside <a>

I have an issue where TinyMCE is removing my links in my static CMS blocks. I believe this is because the anchor includes div's which doesn't meet the validation for TinyMCE. How is it possible to ...
1
vote
1answer
148 views

Magento 1.9 Stop Removal of Valid Elements in WYSIWYG

Rather frustratingly, I can see that magento's wysiwyg removes elements such as the picture element. Digging around I can see that the TinyMCE editor is used and setup is hardcoded here: /...
2
votes
2answers
2k views

How to override a JS file in lib folder in Magento 2

I want to override a JS file which lives in following folder MAGENTO_ROOT\lib\web\tiny_mce\plugins\advimage\js\image.js I want to override this file from my custom admin theme or by a module. Any ...
1
vote
0answers
169 views

How to Disable TinyMCE in WYSIWYG Editor globally for Magento 2.1.x?

I'm struggling with adding html code to cms blocks and pages via the WYSIWYG editor in Magento 2.1.x(10). In WYSIWYG editor of cms block I enter: <div class="classname" data-url='{{store url="...
1
vote
1answer
2k views

SecurityError: Permission denied to access property “tinymce” on cross-origin object

I'm using Magento 1.9.3.4 AND KeyCDN. I configured the js/media/css files to come from CDN. On the CDN I enabled the CORS. The CDN uses HTTP/2, shared SSL and the Origin Shield setting is set to "...
1
vote
1answer
224 views

Magento 2: How to override lib/web/tiny_mce/tiny_mce_src.js?

I made some changes in tiny_mce_src.js to avoid wrapping elements in <p> tag in wysiwyg editor (I set forced_root_block : '' in 11277 line). Is it possible to override ./lib/web/tiny_mce/...
1
vote
2answers
2k views

Magento2 - Wysiwyg images show broken thumbnail

When I insert a image in the wysiwyg editor (TinyMCE) the image shows properly in the frontend but gets a broken thumbnail image in the editor. The url it generates in the editor is similar to this: ...
1
vote
1answer
169 views

Magento2 - TinyMCE editor adds %20 in image url

The TinyMce editor adds %20 before the image url. Expected output <p><img src="{{media url="wysiwyg/pdf/pdf.png"}}" /></p> Output <p><img src="%20%20%20%20{{media url="...
4
votes
1answer
324 views

How to add new option in WYSiWYG editor magento

i want to add new option in WYSiWYG editor like list bullet & list number. Is there is any way to add List square option in magento WySiWYG editor.
9
votes
3answers
1k views

Cannot edit widgets in WYSIWYG editor anymore

Recently, editing widgets in the WYSIWYG editor does not work anymore. The browser console shows the following error when I click on a widget: Uncaught DOMException: Failed to execute '...
1
vote
1answer
333 views

How to add 2 wysiwyg field in same form in back office

I need to insert two wysiwyg fields with tinymce in my backend module in the same form. It's working when I insert only one with this code in the edit tab form: $fieldset->addField('mother', '...
0
votes
1answer
377 views

Disable Advanced Tab in TinyMCE

I need to change the settings for the image upload dialog in TinyMCE to remove the Advanced Tab. I've already changed settings of the tool bar icons successfully by creating: <type name="\...
2
votes
3answers
3k views

Magento 2 hide / show editor not working

Here is the pic the showing the tinyMCE is not showing and the button is not work The browser console does not have any exception or error is showing, anyone know what is the problem? Remarks ...
1
vote
2answers
2k views

No WYSIWYG editor in Magento 2

Currently I am developing an extension for Magento 2.1 and have incorporated a wysiwyg editor for some fields in that extension. Testing it in Chromium ( or Chrome ) works like a charm. However when ...
0
votes
3answers
137 views

Magento Not upload image in admin custom tab form

In Created Custom tab in magento. Image not upload in editor. That display error like Uncaught ReferenceError: Mage is not defined in Edit.php file protected function _prepareLayout() { // added ...
0
votes
2answers
2k views

Uncaught DOMException: Blocked a Frame with origin from accessing a cross origin-frame

I have a Magento 1.9 site that uses TinyMCE. Everything worked fine until I added a cdn. The script wouldn't load because it was on a different domain. I went ahead and added a subdomain but it still ...
0
votes
1answer
239 views

Magento adminpanel custom Module editor field config

I have created a custom module in the adminpanel where i need to show an HTML editor. The field is showing properly with the HTML editor but the issue is that its showing all the buttons and options ...
1
vote
0answers
61 views

Order history comment data is not post after adding tiny MCE

I am using Magento Latest version 1.9.3. I have added tiny MCE editor on order history comment like below While i have submit comment. history comment data is not post in addComment function. for ...
1
vote
1answer
305 views

Magento 1.9.3 tinymce url('{{media url=" issue

In Magento 1.9.3 it started to cut off media url inside cms editor: <table style="background-image: url('{{media url="wysiwyg/image.jpg"}}');"> becomes this <table style="background-image: ...
2
votes
1answer
4k views

WYSIWYG / TinyMCE Editor keeps removing <a> tags in CMS blocks in Magento 2

I'm trying to add a link to each div but whenever I save the block, the <a> tags gets stripped out. Any help would be appreciated <div class="banner-pods"> <a href="http://www....
1
vote
0answers
116 views

Saving a page/static block triggers an tinymce error and I can´t switch from HTML to text

I have a up to date Magento System. But for some reason when I am in the backend and want to edit a page or a static block, I cant switch from the HTML view to the text/visual view. If I click the (...
1
vote
0answers
804 views

Adding wysiwyg editor to Magento 2 product attribute options page

I have managed to add a custom description field for product attribute options. Now I need to add WYSIWYG editor for the same. My custom module override the default templates for this vendor/magento/...
1
vote
1answer
493 views

Magento 2: TinyMCE editor is breaking CMS directives nested in html attributes

Using TinyMCE 3.4.7 (Magento 2) and I'm having an issue where when I insert Magento CMS directives into an html attribute, the resulting html ends up completely broken. For example: <div data-img="...
0
votes
1answer
883 views

how to use tinymce to admin custom module in magento2?

I have custom module with custom-template.phtml. i custom-template.phtml i want use tinymce for tags texarea. i tried code. <input type="button" class="action-default scalable" onClick="...
4
votes
2answers
633 views

Upgrade TinyMCE to V4 on Magento 2

I've looking this solution for hours! The v3 is way to old and buggy. Anyone has been able to upgrade it to v4.3?
0
votes
3answers
1k views

Show/Hide Editor Not Responding

I have tried to look for previous solution and couldn't find any relevant topics. So I guess I should post a new question here. We are trying to toggle the WYSIWYG editor (Which is turned by default) ...
0
votes
1answer
603 views

CMS static block not displaying preview in admin panel Magento 1.9.0.1

Magento admin panel not displaying preview of images and texts like cms-admin-preview.png It is now displaying like this in cms-admin-not-preview.png If anyone has faced this issue then please help ...
0
votes
1answer
496 views

TinyMCE and Javascript conflict

TinyMCE is installed in our Magento 1.9.2.4 webshop, but we have some conflict issues with the Javascript merge function in: Magento back-end --> System --> Configurations --> Advanced --> Developer ...
0
votes
1answer
553 views

showing Tiny MCE popup blank in WYSISYG

Tiny MCE is popup sowing blank in WYSISYG editor.
0
votes
1answer
531 views

How to add image upload to description field in product edit?

I added tinyMCE in textarea for description field in product edit form, but image upload is not showing. When i open default editor everything is working good. What is wrong with my code? My code: ...
3
votes
2answers
2k views

How to link a image to a product

I feel like I am missing something. Using the CMS. I am trying to link a img to a product page using variables. Basically <a href="{{product}}"><img src="{{media image}}" /></a> ...
0
votes
1answer
645 views

Problems with saving CMS page changes in Magento-1.9.2.1

I have some problems that I hope you can provide advice. I newly installed Magento 1.9.2.1 and noticed strange behavior when i save something. From the Navigation bar, I enter the the default 'about ...