• Resolved Gregosz

    (@gregosz)


    Hi!
    
    I like your plugin very much! It allows me for inserting a couple of emoji icons into the posts.
    It would be perfect if I could similaryly to icons.json and font-awesome.min.css replace blocks.build.js with my custom file.
    I mean if I could use appropiate add_filter function.
    
    At the moment I am changing blocks.build.js inside the plugin.
    
    regards,
    Grzegorz
Viewing 1 replies (of 1 total)
  • Plugin Author Joris van Montfort

    (@jorisvanmontfort)

    Hi Grzegorz,

    Sorry for the late reply. Been pretty busy on othe projects latley.
    I did an update containing a hook for editing the editor js file loaded. Version 1.0.5 has a hook for it.

    Example code:

    
    function add_my_js_file($file) {
        $file = '/path_to_my/js_file.js';
        return $file;
    }
    
    add_filter( 'jvm_richtext_icons_editor_js_file', 'add_my_js_file');
    
Viewing 1 replies (of 1 total)
  • The topic ‘How to load custom blocks.build.js file?’ is closed to new replies.