WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 4 months ago

#29683 new enhancement

Live Preview shortcodes

Reported by: tw2113 Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.0
Component: Shortcodes Keywords:
Focuses: Cc:
PR Number:

Description

With WP 4.0, we got live preview oembed endpoints. Is it possible that we could do the same on some level for shortcodes? Is it even possible for this type of thing?

Change History (5)

#1 @helen
5 years ago

wpview started with shortcodes in the first place - galleries do it, as do audio/video/embed. Plugins can implement a view for shortcodes as desired. What am I missing here? Automatically making it happen for additional shortcodes? Not sure that's a great idea, particularly for ones with attributes that need to be set.

#2 @tw2113
5 years ago

Yeah, the automatic for user-created shortcodes was the idea, assuming it was possible to do relatively easily. Mostly just throwing the idea out there.

I wasn't aware that the views were pluggable as well, so if it's better to leave this one for the authors themselves, then by all means.

#3 @jdgrimes
5 years ago

Janneke Van Dorpe has done something like this with her editor experiments.

Edit: I should note that it isn't fully automatic, but I believe it makes things easier than they would be now.

Last edited 5 years ago by jdgrimes (previous) (diff)

#4 @johnbillion
5 years ago

  • Version changed from trunk to 4.0

#5 @Stagger Lee
5 years ago

I would love this. Like Shortcodes Ultimate plugin does. But even this is limited. Visual Baker Composer is not limited.
Dont think missing attributes at the first is big problem. Keyword here is editing after. To be able to click on shortcode and again open editing window, just to change something.

As it is now I NEVER give anything that has to do with standard shortcodes to beginners. I try to find other solutions. It is to much for them to ask to be carefull not to delete one wrong character when working with parenthesis. Beside this whole logic behind is bit tiny for web editing beginners. So for now I skip shortcodes at the whole (minus WP Media of course), at least for beginners for use. I use them vastly as developer.

Note: See TracTickets for help on using tickets.