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
Ability to edit a shortcode's attributes inline #116
Comments
Such yes |
This would be great, although I'm not so certain that TinyMCE views can readily handle this |
I think a first step could be to allow shortcodes to override the editor form view and provide their own. This way - you could completely customize the appearance. You could make the form look exactly like the rendered shortcode. The next step - you could provide an option to render the form inline instead of the preview for a given shortcode. Providing editable forms doesn't totally break the MCE views this should be OK. |
Inline editing came up as a core integration point. We should prioritize it for v0.6.0, and explore how other editors do this / content blocks. Another consideration for inline editing is block vs. non-block shortcodes. Inline editing could be less functional for non-block shortcodes, as we'll have less space to work with. |
👍 And possibly related: #115 (select existing text and turn into a shortcode) |
Some conversation from Slack:
|
Sounds good - getting rid of the modal would be a huge step. For many fields you could do replace the field with an input area as you click on it. (And give some visual hinting when user hovers over it). Drupal 8 has some great ideas for front-end editors, see: Also Aesop does this very well in the context of WP. |
Can you please when talking about major changes do as they recently did on WordPress Trac. Make some screenshots for us dumb people. Very hard to follow you guys. Please. |
Will do. No big or breaking changes coming at this time. |
For shortcodes that don't have substantially complex fields, it might be nice to be able to edit a shortcode's attributes inline.
The text was updated successfully, but these errors were encountered: