• Resolved jzilberberg

    (@jzilberberg)


    Hi,

    Can you please make this plug in work with Advanced Custom Fields? Currently only the native content editor is affected by this plugin, but ACF WYSIWIG fields are not. I’ve tried altering the code in hesh.min.js, replacing the calls to particular DOM elements, but this did not make it work.

    Here is what I changed in case you are curious.

    //var toolbar = document.getElementById('ed_toolbar');
    var toolbar = $('.quicktags-toolbar')[0];
    //var target = document.getElementById('content') || document.getElementById('newcontent');
    var target = $('.wp-editor-area')[0];
    //var tabText = document.getElementById('content-html');
    var tabText = $('.switch-html')[0];
    //var tabVisual = document.getElementById('content-tmce');
    var tabVisual = $('.switch-tmce')[0];
    

    Thanks!!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘ACF Compatibility’ is closed to new replies.