1

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/tiny_mce_src.js in Magento 2?

3
  • Please specify magento version. Commented Aug 25, 2017 at 20:36
  • @AbhishekPanchal It's Magento 2.1.5 Commented Aug 25, 2017 at 20:48
  • Did you find a solution? Commented Nov 22, 2018 at 13:39

1 Answer 1

0

yes if you want to override it inside an adminhtml theme you can override it by putting the overided files inside web of that theme forexample create a theme called test

/app/design/adminhtml/test/web/tiny_mce/tiny_mce_src.js

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.