Questions tagged [wysiwyg]
WYSIWYG ( what you see is what you get ) Editor
233
questions
0
votes
0
answers
14
views
How to allow "cyrillic" characters in new Media Gallery (description for images, tags)
Just today I found out that Magento 2.4.4 have a new "Media Gallery" allowing to add a description (alt text) for images and tags.I want to benefit from it to add "alt text" to ...
0
votes
0
answers
27
views
Magento 2: Custom button in admin product edit page sort descitption scetion WYSIWYG above
I want to add button somewhere close, near short description fieldset. Button will contain some code that i will use sometimes in fieldset. I want something with easy access that i can use fast.
0
votes
1
answer
17
views
How to use plugin for Magento\Cms\Controller\Adminhtml\Wysiwyg\Images\Thumbnail execute() function
I want to put an around plugin.
This is the core file
vendor/magento/module-cms/Controller/Adminhtml/Wysiwyg/Images/Thumbnail.php
The main purpose is on the execute function I want to upload a custom ...
0
votes
1
answer
164
views
Failed to initialize plugin: magentowidget on magento 2.4.4 Editor
I am having below error on the magento 2.4.4p2 commerce version when upgrading from 2.3.5 commerce
Failed to initialize plugin: magentowidget
This happened on the admin WYSIWYG editor
I have done
...
0
votes
0
answers
96
views
Magento 2 set content for the Wysiwyg Editor
I have added Wysiwyg for the as below in phtml file.
<textarea name="comment" id="comment" class="textarea " cols="80" rows="20"></textarea&...
0
votes
0
answers
55
views
Add rel=”nofollow” (and the other rel options) for link in the the WYSIWYG editor
I want to add rel=”nofollow” in the link from wywiig editor. There is documentaion https://developer.adobe.com/commerce/frontend-core/ui-components/components/wysiwyg/configure-tinymce-editor/ but I ...
0
votes
0
answers
10
views
Custom entity wysiwig doesn't replace variable
Field
<field name="description">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array"&...
2
votes
2
answers
644
views
Magento 2.4.5 TinyMCE 5 toolbar configuration to remove plugins
I want to configure Tinymce 5 toolbar plugins.
till now i have tried below things.
app/code/VendorName/CmsEditor/etc/adminhtml/di.xml
<?xml version="1.0"?>
<config xmlns:xsi="...
0
votes
0
answers
98
views
Can't Upload Images from CMS Wysiwyg editor in Magento 2.4.2-p1
I can't upload any file format images from CMS WYSIWYG editor also uploaded images not display but I can access images direct from URL
I can upload products Images and categories etc just issue on ...
0
votes
0
answers
126
views
Magento 2 : Insert image or select image not load -blank page
Do not be tired
I noticed today that when I want to put a photo in the product and click on the image button, the page does not open and a white page opens.
Can you advise where the problem could be?
...
0
votes
1
answer
737
views
Pagebuilder WYSIWYG/Textarea showing full master.html template after saving page
I have created a custom pagebuilder component with a WYSIWYG editor (also tried with Textarea), but after saving the page in admin, the WYSIWYG is showing the full html output from master.html
I would ...
0
votes
1
answer
368
views
Custom Page Builder
There is page builder for admin scope area, I want to create or use it for different scope area named as vendor.
Any suggestions on what should I do I should create the new one or I can use the admin ...
1
vote
1
answer
311
views
Adding new WYSIWYG text style or format
I would like to add a new WYSIWYG text style, similar to the below image.
As per the official documentation, I have managed to add a new style called "Introductory Paragraph": https://...
0
votes
0
answers
38
views
Magento 2.4.2 WYSIWYG Editor is SO Narrow
I have a website I'm helping a client populate content. I'm trying to create blog posts but the WYSIWYG editor is SO narrow making it hard to update content. I've attached an image. Anyone know how to ...
0
votes
1
answer
26
views
Installation module-wysiwyg-advanced-master
I wanted to thank and congratulate the creator of this amazing module and ask him for more detail about the installation. In fact I am not a confirmed developer and I am having trouble installing the ...
1
vote
0
answers
464
views
Magento 2 - Custom Widget Wysiwyg Editor allow html tags
I try to add a wysiwyg editor to my custom widget.
I added the field to my widget.xml
<parameter name="content" xsi:type="block" required="false" visible=&...
0
votes
1
answer
326
views
WYSIWYG Editor Issue in UI Component multi row not working
I have created dynamic rows with multiple descriptions filed(1 In a row) with the WYSIWYG editor.
Editor showing and working with first one-row element and rest element which added by adding more it's ...
0
votes
1
answer
24
views
Image from BO template are not displaying in email
I call my email template from my controller and send variables to it so I don't need to rewrite the entire template (header & footer) especially because they might change during time.
So, I'm ...
2
votes
2
answers
2k
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.
0
votes
0
answers
253
views
Wysiwyg widget escaping character
I've created a widget with a wysiwyg inside it (with the class from this module Dmatthew\WidgetParameters\Block\Adminhtml\Widget\Type\Wysiwyg)
BUT
When I'm adding my content, with the strong, ...
2
votes
0
answers
205
views
Magento 2.3: Automatically add HTML tags in a Static Block after save
Automatically adding HTML tags in a Static Block after save
When saving static block from admin then after saving static block it is automatically adding HTML tags
How can we solve it so that it will ...
1
vote
0
answers
106
views
Magento2 Enable WYSIWYG On Email Templates Admin Panel
I know Magento has a WYSIWYG library but I am surprised that when you go to Marketing>Email Templates and click into one of the email templates the textarea is not WYSIWYG enabled.
Does anyone know ...
6
votes
0
answers
257
views
How can I make admin form field ($form->addField()) use PageBuilder editor?
I'm using Amasty's Landing Pages extension. On the Landing Pages edit form there's a content field that uses the default WYSIWYG editor. I need to make this field use the PageBuilder editor instead. I ...
0
votes
3
answers
697
views
Magento2: create custom attribute description with wysiwyg editor in Category page?
how to create custom attribute description with wysiwyg editor in Category page?
like this
0
votes
1
answer
263
views
How to add span tag in wysiwyg editor magento 2.3.x
I just wanted to see is it possible to do add a custom text format as SPAN tag in Magento wysiwyg editor.
The current options we get is paragraph/ heading 1-6 I want to add span there.
Could anyone ...
0
votes
0
answers
284
views
How to create template for WYSIWYG editor magento 2
I have problem with template in wysiwyg editor on admin page. In Catalog > Products > Content tab we have wysiwyg editor, but I'm confused were I need to create templates for selecting.
It ...
1
vote
0
answers
192
views
how to replace image url get by wysiwyg editor in Magento 2.3.5
I got image like this from uploding image by wyusiwyg editor:
<img src="{{media url="http://example.com/media/wysiwyg/the-picture.jpg"}}" alt="" />
but i want to ...
1
vote
2
answers
467
views
Thumbs not showing in 'insert file' in admin
For backend - both in the 'Media Gallery' and 'insert file' the thumbs are not being shown. Broken links are being shown.
I have tried resetting all the file and folder permissions - no change
I ...
1
vote
4
answers
2k
views
Add Wysiwyg attribute to Product in Magento 2
How to create Magento 2 Product Attribute with Wysiwyg editor Programmatically.
1
vote
0
answers
39
views
Fatal error: Uncaught Error: Call to a member function processGalleryConfig() on null
I have upgraded my Magento 2.2.8 website to 2.3.5. The system used the Ves theme. But currently, the Ves theme doesn't have the latest theme module for Magento 2.3.5. Ves theme used landcooder page ...
0
votes
2
answers
520
views
Magento 2 Category Custom attribute doesn't exists error
I have created a module where i have added two custom attribute to category page. Here is my code.
Setup\InstallDate.php
<?php
namespace Vendor\Module\Setup;
use Magento\Eav\Setup\...
1
vote
1
answer
273
views
MagentovariablePlugin is not defined
I'm adding wysiwyg editor in admin custom form
All displays good and working fine, but when I click on Insert variable I have an error: Uncaught ReferenceError: MagentovariablePlugin is not defined
...
1
vote
2
answers
847
views
IFrame got lost on save using WYSIWYG (TinyMCE) - Magento 1.9.4.4
Embedding video content is possible only using a simple text editor. Using WYSIWYG dialog data is serialized in the tag which is showing blank white space on the product page.
If IFrame is inserted ...
0
votes
1
answer
1k
views
WYSIWYG editor showing html content in frontend?
I am adding WYSIWYG editor using the UI component in the magento2 custom module. But when I am adding the data by widget then it is not showing in a proper way. What is the issue?
*custom_hello_data....
0
votes
1
answer
364
views
Magento2 - WYSIWYG uploader missing folders
I would like to know why folders are not appearing in the WYSIWYG image uploader.
In image1 below, only "test" folder appears (pub/media/test), but I have another folder "test+" that is not appearing ...
1
vote
2
answers
3k
views
Magento 2 Add widget using WYSIWYG field in a custom widget
I have created a custom widget and it contains a WYSIWYG field. Everything works fine except the add widget option.
When I add the widget it will displayed in the editor. When I click the save ...
1
vote
1
answer
127
views
How to add a field using xml from existing fieldset created using php
I have a module where I'm overriding some of it's feauture to match what I need. So everything is working but I need to add an editor wysiwyg field into the existing form using an xml (uicomponent) ...
0
votes
1
answer
376
views
How can i disable plugin image in wysiwyg only in my module?
Hi everyone,
I want to disable upload images in wysiwyg editor only in my module, how can i do that ?
I'm in magento 2.3.3
Button "Insert image.."
Plugin image in toolbar
Thankyou !
3
votes
1
answer
1k
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="...
1
vote
1
answer
861
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 ...
0
votes
3
answers
2k
views
Double quotes change into " in Tiny MCE editor in Magento 2.x
In Tiny MCE editor on a product page in M2.3, all my double quotes are changed into " after saving.
Example:
<a href="{{store direct_url="contact"}}">
This breaks ...
0
votes
1
answer
193
views
Magento Trying to display {{block type="catalog/product_list" template="catalog/product/new.phtml"}} on homepage
Hi I am trying to display the current block
{{block type="catalog/product_list" template="catalog/product/list.phtml"}}
Using the CMS Wysiwg for my home page. I have set the permissions to display ...
1
vote
0
answers
202
views
Magento 2 WYSIWYG in repeater field
I am trying to make a (very simplified) page builder for just the homepage in Magento 2.3.
I figured out how to build a repeating field from a serialized array, like this :
<field ...
0
votes
0
answers
324
views
How to customise WYSIWYG editor in admin form - Magento 2
I need to add directionality : 'rtl' to WYSIWYG editor used in all admin forms (Product create/edit, category form).
How can I configure TinyMCE editor since the instruction provided here is not ...
3
votes
1
answer
1k
views
Magento 2.3: Create custom category attribute with WYSIWYG
I want to add WYSIWYG enabled textareas as custom fields for categories. I have read all related topics on this site for this issue, but none of the mentioned answers seem to do the trick. Can ...
0
votes
0
answers
329
views
Html tags are showing on frontend in custom module textarea admin form field?
I am using Testimonial extension which has textarea field in admin form.
When I am adding content with html tag, html tags are showing on frontend.
I have tried to change textarea to editor from ...
1
vote
1
answer
1k
views
Magento 2 - How to validate wysiwyg editor in frontend PHTML file?
In Magento 2.3.2, I have added the wysiwyg editor in frontend PHTML file with the following codes.
HTML:
<form class="form" action="<?php echo $block->escapeUrl($block->getSavePostUrl()...
1
vote
1
answer
1k
views
Can't upload video form wysiwyg
After clicking insert/edit embedded media in the editor (wysiwyg) in magento admin, appears an error in my console. Indeed I can upload a video, but I can't insert it to my page. it says :
Uncaught ...
3
votes
0
answers
157
views
{{media url="..."}} doesn't work on product attributes
After magento update to version 2.3.2 i noticed that {{media url="..."}} is not working on product attributes like 'description' attribute. In backend the url is resolved correctly and i can see the ...
2
votes
1
answer
612
views
Magento 2 WYSIWYG field in custom admin form
I'm trying to add some fiels dynamically with Ui interface in a custom admin form.
in order_ticket_form.xml
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns:xsi="http://www.w3.org/2001/...