4

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.

enter image description here

jscar
7874 silver badges15 bronze badges
asked Jul 12, 2017 at 9:40

1 Answer 1

0

If you edit js/mage/adminhtml/wysiwyg/tiny_mce/setup.js you can add the advanced list plugin which will give you a little drop down on the list icon in the toolbar. You can change the list style type using that drop down.

You need to find getSettings: function(mode) in setup.js and add advlist in the value of var plugins

 getSettings: function(mode)
 {
 var plugins = 'inlinepopups,safari,pagebreak,style,layer,table,advhr,advimage,advlist,emotions,iespell,media,searchreplace,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras';

You will then see this on the toolbar enter image description here

Do this on a dev site first

answered Jul 12, 2017 at 11:03
1
  • I can't see any way of over-riding this in a local theme so I am aware that I'm advising you to edit a core file. Commented Jul 12, 2017 at 11:07

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.