-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CodeMirror Editor Button for the Gallery #21
Comments
Thanks for the suggestion. However, you need to help me out here, a little. As for the |
HI! I think you could add an editor button using the already existing "Editor buttons" plugin
Hope it works for adding the gallery button too |
For usability, it would be great if a button could be added to the editor menu which enters the shortcode markers
[gallery lastRow=justify]
[/gallery]
to the text where the shortcode should get inserted and placing the cursor just behind "...justify]Cursor". That way there won't be an empty line to start the gallery and the "lastRow=justify" as standard guarantees that the gallery is always in a nice looking format no matter what image formats had been inserted.
It would make the gallery plugin much more usable and would limit typing errors.
The text was updated successfully, but these errors were encountered: