Skip to content

Releases: jtsternberg/Shortcode_Button

v1.0.7

07 Jun 16:00
Compare
Choose a tag to compare
  • 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 and text_small CMB2 fields work properly. Fixes #20.
  • More consistent checkbox field styling. Props @JiveDig, #19 (and #18).

v1.0.6

27 Feb 16:52
Compare
Choose a tag to compare
  • 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

13 Sep 00:47
Compare
Choose a tag to compare
  • 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

06 Sep 20:41
Compare
Choose a tag to compare
  • 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

06 Sep 20:41
Compare
Choose a tag to compare
  • Hide modal manually to ensure it is hidden before CSS loads. Prevents flash of content.

v1.0.2

28 Mar 01:34
Compare
Choose a tag to compare
  • 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

21 Mar 16:11
Compare
Choose a tag to compare
  • 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

21 Mar 01:04
Compare
Choose a tag to compare
  • 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.

v0.2.3

26 Feb 05:54
Compare
Choose a tag to compare
  • Fix focus issue when modal opens. (#9)
  • Fix modal height/scroll issues when modal opens.

v0.2.2

05 Jan 22:08
Compare
Choose a tag to compare
  • Remove hidden image id from CMB2 file field type when closing the modal.