Releases: jtsternberg/Shortcode_Button
Releases · jtsternberg/Shortcode_Button
v1.0.7
- Introduce
Shortcode_Button_MCE
object for properly handling/parsing the MCE view for ajax, and add that object as an additional property to the'shortcode_button_parse_mce_view_before_send'
and"shortcode_button_parse_mce_view_before_send_{$button_slug}"
filters. (#17) - Make
text_medium
andtext_small
CMB2 fields work properly. Fixes #20. - More consistent checkbox field styling. Props @JiveDig, #19 (and #18).
v1.0.6
- Remove the custom recursive QTags button in the shortcode modal wysiwyg editor. Props (@nonsensecreativity)[https://github.com/nonsensecreativity], (#14)[https://github.com//pull/14].
v1.0.5
- Fix incorrect content displaying when editing shortcodes with self-closing tags and content.
- Fix radio button 'checked' value displays when editing shortcode.
- Fix multicheck checkboxes 'selected' value displays when editing shortcode.
- Fix select 'selected' value displays when editing shortcode.
v1.0.4
- Make sure "file" field type inputs are populated when using MCE views and editing a shortcode.
- When editing a snippet with content, normalize the content to address tinymce auto-paragraph issues.
v1.0.3
- Hide modal manually to ensure it is hidden before CSS loads. Prevents flash of content.
v1.0.2
- Fix broken loader. Needs to hook into a WordPress hook, and uses first available (
'muplugins_loaded'
,'plugins_loaded'
,'after_setup_theme'
) to fire the include action.
v1.0.1
- Handle repeatable groups for attribute values (or any array value) with a modified JSON string (which will need to be converted in your shortcode).
v1.0.0
- Add a conflict-resolution loader (like CMB2), so that only one version of Shortcode_Button is loaded, and it always loads the newest version.
- Use WordPress core
wp.shortcode()
javascript api. - Better handling for populating edit modal with CMB2 defaults, if set.
- A bunch of fixes for when
'mceView'
is enabled:- Add a wysiwyg editor to the edit modal to handle wrapping shortcodes (
'include_close'
) - Better handling for populating edit modal with contents of shortcode being edited.
- Better shortcode rendering in mce view. Your mileage may vary.
- Add a wysiwyg editor to the edit modal to handle wrapping shortcodes (
v0.2.3
v0.2.2
- Remove hidden image id from CMB2
file
field type when closing the modal.