Fix in visual-editor-custom-buttons

Please fix errors:

  1.  in loop “function _add_my_quicktags” if(!isset($post)) continue;Снимок
  2. in function vecb_register_button :

    in function vecb_add_plugin :

     

    Снимок2

  3. in function  vecb_editor_options :

    and

    and in next lines need will be check variable the “$customicons” on null. I think , there need create one more method for customicons , which will return array with custom icons Снимок3

  4. in function  vecb_tag_options :

    in function vecb_styling_options:  $styling = isset($custom["styling_content"][0]) ? $custom["styling_content"][0] : "";

     

    Снимок4

 

There all fixes which I  found  in  your plugin .

https://gist.github.com/andxbes/dd57f3096892cfa5f9df

Sorry for my English .

Leave a Reply

Your email address will not be published. Required fields are marked *