Forum Replies Created

Viewing 6 replies - 181 through 186 (of 186 total)
  • Plugin Author Vicky Agravat

    (@vickyagravat)

    I thought you have to do something in admin side.
    But, now i understand what is your needs.
    You have to use initialized Editor instance on front end.

    Now, I have updated the code to use. (in Plugin Version 1.0.6)

    Now, you can use window.wpcm.editors object array on front end.
    I also have added 2 events listener, triggered at the time of editor initialization.
    1. wpcm_editor_loaded is triggered (with editor object) after an editor instance is pushed in the window.wpcm.editors object array.
    2. wpcm_editors_loaded is triggered after all editor instance is pushed in the window.wpcm.editors object array.

    You can use any event to initialize your code…
    For Example

    ( function( $ ) {
        $(document.body).on('wpcm_editor_loaded', function (e, editor) {
            console.log('current editor', editor);
            // your code.
        });
    
        $(document.body).on('wpcm_editors_loaded', function (e) {
            console.log('all editors', window.wpcm.editors);
            // your code.
        });
    } )( jQuery );
    Plugin Author Vicky Agravat

    (@vickyagravat)

    Please Wait.
    I will Update the plugin soon…

    Plugin Author Vicky Agravat

    (@vickyagravat)

    I have added the code you have suggested.
    You can now access all instance of editor with window.wpcm.editors object array.

    just update your plugin to 1.0.3 or greater.

    If any problem occurs or any other suggestions, just reply here…

    Plugin Author Vicky Agravat

    (@vickyagravat)

    Thank you for your review and ratings.

    I will definitely update the code you have suggested, in next plugin update.
    also with some other code optimization to improve performance.

    Plugin Author Vicky Agravat

    (@vickyagravat)

    Thank you for find issue.

    Now, your issue has been fixed in Plugin update 1.0.2

    Please Update the Plugin.

    If you like the plugin…
    Please, provide your valuable review with enough star ratting,

    Plugin Author Vicky Agravat

    (@vickyagravat)

    Thank you for your Query.

    Actually this plugin is only created for Gutenberg (New WP Editor).
    With Gutenberg, you can see actual live preview in editor, as same as Front End.

    Whereas with Classic Editor, live preview can not be implemented, because of it’s limitation.
    So, Technically the plugin is currently not support Classic Editor.
    But, Yes it can be implemented for Classic Editor using shortcode, without live preview.

    I will definitely add support for Classic Editor using shortcode, within next plugin update.

    Thank You.

Viewing 6 replies - 181 through 186 (of 186 total)