We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [wysiwyg]

WYSIWYG ( what you see is what you get ) Editor

Filter by
Sorted by
Tagged with
2
votes
0answers
44 views

Magento 1: How replacing WYSIWYG button in product description field?

By default when there is an attribute with "Enable WYSIWYG" set to Yes you will get a button bellow that form field [WYSIWYG Editor]. When you click on the button your will get a pop-up window, but ...
2
votes
0answers
127 views

How Can I insert multiple image in WYSIWYG Editor in Magento1.9.x?

Magento1.9.x version in need multiple image upload at a time in WYSIWYG Editor.
0
votes
1answer
176 views

Magento 2 Overide CMS Helper

I tried to override the Image helper on CMS block for uploading pdf files. Now i added the pdf files but i need to link for pdf file instead of img tag. And also i tried to override the CMS Image ...
1
vote
2answers
1k views

Magento 2 - How to add wysiwyg editor in frontend PHTML file?

I have one inquiry form on frontend custom module. I wanted to use wysiwyg editor in frontend PHTML file. I have read many thread on community which have tutorials for adding wysiwyg in backend form....
3
votes
2answers
2k views

how to upload video file WYSIWYG editor in Magento 2?

I can't upload a video file through WYSIWYG editor. Sometimes it says File validation failed.. Sometimes it simply doesn't do anything while uploading a file. Kindly help me.
0
votes
2answers
89 views

Magento 2 translate field from wysiwyg

How can one using csv file to translate from wysiwyg field: e.g I have in the backend of Magento a field : <h3 class="eyeCatching">Opening Hours</h3> <p>Monday - 10am to 5pm ...
1
vote
3answers
1k views

Add Wysiwyg attribute to category in Magento 2.2.4

I followed this reference Inchoo to add new Wysiwyg attribute to category in Magento 2.2.4. It's working fine. My custom attribute successfully added in the category but it's showing only textarea ...
1
vote
1answer
2k views

Show/Hide Editor not working in magento 2.2.4

Show/Hide editor is not working in static blocks. I am getting following Errors in the console - Refused to execute script from https://www.example.com/admin/cms/block/edit/block_id/20/key/...
0
votes
2answers
382 views

custom text area wysiwyg attribute product in magento2

When I am getting the value of text area type attribute WYSIWYG enabled will not show images or media content in phtml. I am using below code in my theme's product's addtocart.phtml file: <?php $...
0
votes
1answer
148 views

Images ( PNG or JPEG ) file size increased when uploaded through wysiwyg editor

I have both optimized PNG and JPEG images that I want to upload in wysiwyg but everytime I check it in frontend after upload and save it to my computer, the file size changes to triple of the original ...
0
votes
1answer
1k views

Magento 2 - Error: pub/media/wysiwyg is not under storage root path

I facing this error when uploading images in static blocks. Can anyone suggest me, why is this happen?
0
votes
1answer
1k views

How to create custom category attribute with wysiwyg editor in magento2?

Hi i want to add custom category attribute with wysiwyg enable editor i get the code of custom category attribute but not able to find with wysiwyg editor.if anyone is there help me please.
1
vote
1answer
513 views

Magento2 : CMS page images showing in admin but not on front-end (WYSIWYG)

My CMS images are showing in admin but not on the frontend for a content page (About Us) that I m making Though the links look clearly wrongly pathed :- https://www.giftshop.com/index.php/admin/...
1
vote
2answers
2k views

Magento 2 – How to add WYSIWYG editor in admin configuration options?

How to add WYSIWYG editor with textarea in the admin system configuration options?
0
votes
0answers
111 views

unable to insert images and use wysiwyg properly

i am working on magento website which is based on magento 1.9. all of sudden am facing a wierd issue that wysiwyg editor is not working properly as when am trying to insert any image same is not ...
0
votes
1answer
275 views

Wysiwyg Insert Image shows blank page in production mode

After putting my webshop in production mode and try to insert an image in the Wysiwyg editor it gives me a blank popup modal apart from text saying insert image and a close button. In developer mode ...
1
vote
0answers
263 views

Magento 2 wysiwyg editor does not load folder

I have issue with magento 2 wysiwyg editor it does not load folder even storage root folder. I have check for permission pub/media/wysiwyg its showing with 777 permission. Also I have checked for ajax ...
0
votes
4answers
3k 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 alot. Here is a screenshot of the error message with red ...
0
votes
1answer
104 views

Magento 1.9 : Moved from subdomain to public_html now wysiwyg problems

I have moved my magento 1.9 from a subdomain to the folder public_html. This is now for my primary domain www.mydomain.co.uk I have changed everything that needed changing, also now adjusted the ...
1
vote
1answer
298 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
1answer
402 views

is there a way to add custom variables to product description (using the editor) in magento 2?

I am using magento 2.2.2 and I want to add custom variables to the products description. for now, I can do that with the pages but not for the products (in the page editor there's a button called "...
0
votes
0answers
71 views

How to add custom stylesheets to magento2 Wysiwyg editor

How do i add styles to the admin so that when i enter content into the wysiwyg and save i can see a preview of what it will look like on the fronted in the wysiwyg
0
votes
1answer
43 views

getting a syntax error when trying to upload to my site

I cannot upload product images, I cannot upload images in a cms block through the wysiwyg. I am getting this error: I went ahead and replaced all of the .js files with the original download files, ...
2
votes
2answers
690 views

Magento 2: - Set WYSIWYG editor near to custom option in admin side

We created text box near to custom option can it be possible to put wysiwyg? Code we use for that StackExchange\Affordablemantel\Plugin\Catalog\Ui\DataProvider\Product\Form\Modifier\CustomOptions\di....
1
vote
2answers
1k views

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

Need to add font family in wysiwyg editor.
0
votes
2answers
496 views

Add extra wysiwyg block to cms page form

I've been trying to work out how to add a new wysiwyg block on my cms page form as I need 2 different blocks on each page. I've been looking into the Cms module and I guess I need to extend view/...
1
vote
2answers
52 views

If i disable wysiwyg, is it going to delete the content?

If I disable WYSIWYG, is it going to delete the content that is inside? I'm not sure about it and do not want to take the chance. I'm trying to add automatic meta description from the description ...
0
votes
1answer
95 views

How to insert a PDF link in a FAQ widget?

I'm new so I don't know how things really work here but I'm going to give it a try : I would like to know if there's a way to insert a PDF link in an FAQ widget. I used HTML coding in the WYSIWYG (am ...
1
vote
2answers
3k views

Modify WYSIWYG or TinyMCE configurations in magento 2

Within the editor it seems html is validated so that multiple elements cannot be placed within a tags. I want to allow markup like below: <a href="#"><h2>Category</h2><img src="...
2
votes
0answers
360 views

Magento 2, Can't Enable WYSIWYG on description attribute

I'm trying to enable the WYSIWYG editor, on the description product attribute. Magento ver. 2.1.7. I've enabled the WYSIWYG in Store > Attributes > Product > description Our Product description ...
2
votes
1answer
863 views

Using wysiwyg editor on frontend templates in magento 2

I found so many articles about how to use wysiwyg editor in admin pages, and I was wondering if I could use it in the frontend templates. if yes, please tell me how. I'm using magento 2.1.5.
1
vote
0answers
144 views

Wysiwyg editor field is redirecting to 404 error in the front end form in Magento 2

We are facing strange issues, we have a form with wysiwyg-editor as a field, while saving, the form is redirecting to 404 error: Page not found., if we remove below script then everything is working/...
1
vote
1answer
346 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
220 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="...
1
vote
0answers
20 views

WYSIWYG editor doesn't allow more than two lines to be added

I have a text field in my admin form with WYSIWYG enabled and I am able to add limited content in it. here is my uiComponent form field: <field name="description"> <argument name=...
1
vote
1answer
479 views

Display Polls with a custom template shows only empty results

Meta Magento 1.9.2.1 Custom Template Poll works fine when in sidebar Poll works fine when loaded by layout xml History Based on this information: http://inchoo.net/magento/magento-frontend/...
1
vote
1answer
480 views

Can't set value for wysiwyg field component in admin form

Here is my field component config <fieldset name="order_template"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> &...
4
votes
1answer
373 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.
0
votes
2answers
585 views

How to allow uploading ZIP files(.rar) in wysiwyg editor

I tried on the wysiwyg editor to upload zip files but it's not allowed. I created a folder where I uploaded a picture, and then I added manually some zip files inside. But when I open that folder in ...
8
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
2answers
115 views

Add WYSIWYG to order comments - Magento 1.7

I want add a WYSIWYG editor in the order comments on the order view page. When I go to Sales->Orders and I access an order I can add a comment but not only in plain text. Does anyone know how to ...
1
vote
1answer
407 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
47 views

Magento 1.9.3.2 Newsletter Template edit mode removes code bits randomly

I am using the bulletproof background tool found here to create background images that will work in outlook. Once this is done, I go to edit my newsletter template and paste the generated snippet into ...
0
votes
1answer
2k views

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

Today I'm using the textarea, but I want to improve with the WYSIWYG. Thanks
1
vote
0answers
333 views

WYSIWYG editor is not selecting the image name

Selecting from thumbnail not showing the complete path of image. It is insert below <img src="{{media url="wysiwyg/"}}" alt="" /> I tried everything but cannot solved this issue. Thumbnail are ...
1
vote
0answers
414 views

Broken images on the front-end when uploaded through WYSIWYG or Widgets

Is anyone else experiencing broken imagery on the front-end when uploading the image through WYSIWYG or widgets via the media gallery. We find that the image shows for a short period on the front-end ...
2
votes
1answer
2k views

Convert WYSIWYG content into html in magento2

I want to get all content of WYSIWYG content display on my popup. When the WYSIWYG content has an image and text added then the image doesn't display. I want to get output like that. If I added Bold ...
3
votes
2answers
3k 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. Have tried: $fieldset-&...
0
votes
0answers
167 views

WYSIWYG Editor paste not working

I am using default magento editor. when i taste with different browsers i found that Paste is not working in editor. Can anyone suggest me why this happen ?