This topic contains 2 replies, has 2 voices, and was last updated by  Steve 2 years, 9 months ago.

  • Author
    Posts
  • #7444

    thor
    Participant

    I am using a special “builder template” when editing posts (Make theme). I have noticed that the editor is not getting the correct (theme) styling and text and buttons disappears. I strongly suspect it caused by the 0.9.9.5 change:

    * ENHANCED: Added default editor style and removed theme style from non post content editors.

    Is there a way to make it work – If the solution is to remove that piklist feature I guess that is ok 🙂

    Attachments:
    You must be logged in to view attached files.
  • #7450

    thor
    Participant

    commenting out add_filter(‘tiny_mce_before_init’, array(‘piklist_form’, ‘remove_theme_css’), 10, 2); on line 263 in /wp-content/plugins/piklist/includes/class-piklist-form.php makes it work. but is there a proper solution?

  • #7474

    Steve
    Keymaster

    The remove_theme_css() function is for removing the editor css from editors that aren’t for post content. Since Piklist can create unlimited editor fields, the css would need to be removed.

    If you need this function disable, you should use the WordPress function remove_filter.

You must be logged in to reply to this topic.