2026 Executive BenchmarkMid-Market Enterprise Modernization: How leaders across unify Commerce, Odoo ERP & AI in 90 days.
MAGENTO COMMERCE

Create front end editor in magento:

step 1 = add js and css in Yourtheme->layout->page.xml below code mage/adminhtml/wysiwyg/widget.js lib/flex.js lib/FABridge.js mage/adminhtml/flexuploader.js mage/adminhtml/browser...

Akshar Group Technologies
Dec 25, 2020
1 min read
Verified Source

step 1 = add js and css in Yourtheme->layout->page.xml below code

code
mage/adminhtml/variables.js

mage/adminhtml/wysiwyg/widget.js

lib/flex.js lib/FABridge.js

mage/adminhtml/flexuploader.js

mage/adminhtml/browser.js

prototype/window.js

js_cssprototype/windows/themes/default.css

js_cssprototype/windows/themes/magento.css
step 2= add following code yourtheme->template->yourmodule->yourfilename.phtml
php
<?php
Show / Hide Editor <script language="javascript" type="text/javascript" src="js/tiny_mce/tiny_mce.js">
/*< !,
img,
hr,font,span",
theme_advanced_resize_horizontal : "false", theme_advanced_resizing : "false",
apply_source_formatting : "true", convert_urls : "false", force_br_newlines : "true",
doctype : '' }); });
function showBlogEditor(strItemId){ strItemId = strItemId.id vartheeditor = tinyMCE.get(strItemId);
//strItemId is the ID of the HTML element if(
theeditor&&theteditor.initialized){
//you can do something here if you need }
else{
tinyMCE.execCommand('mceAddControl', false, strItemId); } }
function hideBlogEditor(strItemId){
if (tinyMCE.getInstanceById(strItemId)) {
tinyMCE.execCommand('mceFocus', false, strItemId);
tinyMCE.execCommand('mceRemoveControl', false, strItemId);
} } /**]]>
?>
Share this playbook
LET'S BUILD WHAT'S NEXT

What's Holding Your Business Back?

Tell us where you want to go, what's getting in the way, and we'll help you figure out the technology to get there.

No sales pitch. Confidential strategic advisory.