Saturday, 3 March 2018

questions about rich text editor in prestashop (tinymce)

  1. How to use the accordion feature in TinyMCE, I tried but collapse not working!
  2. How to make view block option off by default?

PrestaShop expert answer
  1. on module configuration page you can find section named "appearance settings", there is an option to "Include internal accordion library:"
  2. you need to open this file: /modules/tinymcepro/lib/tinymce.inc.js
    you can find there line like :
    visualblocks_default_state: true,
    change "true" to "false" and save changes to file. Then go back to module configuration page and hit "reinstall" button.
    If you will not see change in the editor - it might be required to refresh browser cache (with cache clear or with ctrl+f5 key combination to refresh page with cache clear)

No comments:

Post a Comment