Skip to main content

Questions tagged [wysiwyg]

WYSIWYG ( what you see is what you get ) Editor

Filter by
Sorted by
Tagged with
8 votes
2 answers
9k 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 ...
Mike Dubs's user avatar
  • 515
2 votes
2 answers
10k views

Cannot display image inserted by WYSIWYG editor

I created a form on backend and inserted an image into the editor. The image displays properly in the editor. However, the image cannot be displayed on frontend and 404 error is shown on the console. ...
Code Eater's user avatar
17 votes
4 answers
18k views

Magento 2 WYSIWYG Media image directive using admin url

Why is magento 2 creating directives for media images using the admin url? for example when i add an image on category page WYSIWYG it adds <img src="{{media url="wysiwyg/image.jpg"}}" alt="" /&...
Steve B's user avatar
  • 681
4 votes
1 answer
2k views

How to make field as WYSIWYG editor in system.xml in configuration?

I want to display editor not only textarea so please let me know what can I do here, and how to remove Insert Widget / Insert Variable / Insert Image button there? <field id="gird_view" translate="...
Sarvesh Patel's user avatar
3 votes
2 answers
5k views

WYSIWYG/TinyMCE: how to prevent inserting <p> tags

For the homepage of a magento shop I use the following code in the plain text editor: <p>Some text...</p> {{block type="catalog/product_list" name="home.catalog.product.list" alias="...
SPRBRN's user avatar
  • 1,307
7 votes
2 answers
5k views

Magento 2: Get WYSIWYG editor's data in frontend?

I add wysiwyng editor in admin Ui form. <field name="content"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="...
Prince Patel's user avatar
  • 22.9k
7 votes
1 answer
2k views

How to add WYSIWYG editor button in phtml form

I want to add wysiwyg editor button for 'characteristics' field in below form. I added script as in backend, but is not working in my form. When I click that button it alerts windows is not defined, ...
saravanavelu's user avatar
  • 3,951
4 votes
4 answers
7k views

Wrong URL returned by WYSIWYG editor for images

I've noticed a weird behavior from the WYSIWYG editor in the product description. Whenever I insert an image it will output <img src="{{media url="http://example.com/media/wysiwyg/the-picture....
Julien Lachal's user avatar
3 votes
2 answers
5k views

How to add wysiwyg editor to custom frontend form of custom module in Magento1.9

I have shown here https://stackoverflow.com/questions/22218898/magento-add-wysiwyg-to-custom-frontend-form and I have putted the code of that site in my .phtml file of custom module for showing ...
Ankan Bhadra's user avatar
3 votes
4 answers
2k views

WYSIWYG editor inserting &quot; instead of correct " in 2.3.0 when we use any anchor tags

I am facing an issue with Magento 2.3.0+ WYSIWYG editor inserting " instead of correct " and also when we write like <a href="{{store_url}}sales/guest/form/">Orders and Returns</a> ...
gajjala sandeep's user avatar
3 votes
3 answers
2k views

Broken image links from Wysiwyg's shortcodes on category and product pages not translating on Magento website

Broken Links from wysiwyg on frontend of Magento store. The URL's on broken pages are like below: Admin - <img src="{{media url="wysiwyg/image.png"}}" alt="image" /> Frontend - <img src=...
harri's user avatar
  • 5,535
3 votes
4 answers
8k views

Add WYSIWYG Editor to Block Form in Magento 2

How do you add a WYSIWYG editor to a custom form which you create through a block? I have found this article for doing this through UI components but need this for a block. I've tried the following: $...
tim.baker's user avatar
  • 853
2 votes
2 answers
4k 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: ...
Frank Groot's user avatar
2 votes
2 answers
3k views

How to upload mp4 video using wyswing editor in Magento 2

I have added wyswing editor in my custom module. From there, I want to allow to upload mp4 video from that editor. How can I do that? Any one please help me.
Niket's user avatar
  • 157
2 votes
2 answers
334 views

1.9.4 thumbnails not loaded correctly from .thumbs dir

... or "breaking already broken features - what is Mage_Core_Model_File_Uploader::getCorrectFileName() for?" M1 has a bug that thumbnails used in CMS blocks/pages (insert image button) are not stored/...
sv3n's user avatar
  • 11.7k
2 votes
2 answers
4k views

Magento 2 - How to add Font Family in admin panel wysiwyg editor?

Need to add font family in wysiwyg editor.
KHIMAJI VALUKIYA's user avatar
2 votes
4 answers
6k views

Magento 2.1: create a WYSIWYG field in a custom widget

Is there a way to create a custom widget with WYSIWYG fields? I followed this tutorial here but when I enter data, they are not saved.
enrico69's user avatar
  • 515
2 votes
1 answer
2k views

Integrate WYSIWYG TinyMCE in Admin Custom Module and Contact Us / CMS Page

I followed this blog to add WYSIWYG editor (TinyMCE) in my custom Admin Magento Module. I can see it in my backend, but the issue is when I click on Insert Image, Insert Variable or Insert Widget, it ...
Mark's user avatar
  • 529
1 vote
2 answers
1k views

Magento 2 : Add wysiwyg editor in store configuration

I want to add wysiwyg editor in store configuration. I added also. But, when I click on "Insert Variable" it's return error : Uncaught ReferenceError: MagentovariablePlugin is not defined How to ...
Madhu Patel's user avatar
1 vote
5 answers
7k views

Magento 2 - ' I can't upload images on my store' gives error "wysiwyg is not under storage root path"

I need to know what may be causing the issue (wysiwyg is not under storage root path) of not being able to upload image. Any idea would help a lot. Here is a screenshot of the error message with red ...
Daniel's user avatar
  • 25
0 votes
1 answer
190 views

wysiwyg edior giving error on image upload

I am New with the Magento and I am facing some problem when I try to upload Image through wysiwyg editor in admin panel then image is not uploaded and when I press save button following error message ...
Ratnesh Choudhary's user avatar
0 votes
1 answer
3k views

How to add WYSIWYG functionality on my custom Magento 2 module?

Today I'm using the textarea to fields in my custom module, but I want to improve with the WYSIWYG. How could I use WYSIWYG in a custom field in the admin configuration panel that my module creates? ...
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
230 views

My new module does not fire or I'm missing something obvious.. please help

I'm trying to rewrite Magento wysiwyg config class, specifically one constant,, all in the need to change the default upload location of images in admin (for products, cms pages etc..) and this is my ...
Kresimir Pendic's user avatar
0 votes
1 answer
256 views

WYSIWYG float image

I don't know what's wrong that the image is not fitting the content div. Is this a css problem? The image is on right float;
Alyssa Reyes's user avatar