Vicky Agravat
Forum Replies Created
-
Forum: Reviews
In reply to: [CodeMirror Blocks] Very good, just one suggestionI 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 (witheditor
object) after an editor instance is pushed in thewindow.wpcm.editors
object array.
2.wpcm_editors_loaded
is triggered after all editor instance is pushed in thewindow.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 );
Forum: Reviews
In reply to: [CodeMirror Blocks] Very good, just one suggestionPlease Wait.
I will Update the plugin soon…- This reply was modified 6 years ago by Vicky Agravat.
Forum: Reviews
In reply to: [CodeMirror Blocks] Very good, just one suggestionI have added the code you have suggested.
You can now access all instance of editor withwindow.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…
Forum: Reviews
In reply to: [CodeMirror Blocks] Very good, just one suggestionThank 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.Forum: Plugins
In reply to: [CodeMirror Blocks] Rust languageThank 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,Forum: Plugins
In reply to: [CodeMirror Blocks] How To Use in Classic Editor?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.