-
- Notice shortcode now uses a twig template to allow for easy overriding of style
-
- Updated vendor libraries to latest
-
- Added
processShortcodesRaw()
using raw_handlers #104 - Better vertical alignment for inline shortcodes in NextGen Editor
- Added
-
- NextGen Editor: Ensure content of children shortcode elements, such as UI Tab content, have a new empty line as prefix and suffix, to ensure Markdown lists are not lost getgrav/grav-premium-issues#123
-
- Added the ability to enable/disable built-in notice CSS
- NextGen Editor: Added support for multiple editor instances
-
SafeEmailShortcode
fixed to be compatible with PHP 7.4- Addresses shortcodes getting repeated in modular subpages #101
-
- NextGen Editor: Fixed regexp regression preventing multiple shortcodes to be parsed in certain circumstances
-
- NexGen Editor: Added optional
shorthand
to force attributes to full declaration
- NexGen Editor: Added optional
-
- NextGen Editor: Fixed regexp preventing attributes with
/
in the value from being captured
- NextGen Editor: Fixed regexp preventing attributes with
-
- Added built-in support for Nextgen Editor with powerful GUI capabilities for all core shortcodes
- Support for 3rd party shortcode plugins to add their own Nextgen Editor integrations.
-
- Support HTML in Header shortcode
-
- Added second
$options
parameter toShortcodeCore->registerAllShortcodes()
, keyignore
can be used to ignore class names / files from being loaded
- Added second
-
- Improved shortcode loading, all shortcodes should now extend
Grav\Plugin\Shortcodes\Shortcode
class
- Improved shortcode loading, all shortcodes should now extend
-
- Fixed
Class 'Grav\Plugin\Shortcodes\Shortcode' not found
error when using some plugins - Fixed fatal error when trying to instantiate bad shortcodes (they will be skipped instead)
- Fixed
-
- Pass phpstan level 1 tests
- Added autoload support for registering shortcodes with
$grav['shortcode']->registerShortcode($name)
- Moved
ShortcodeObject
classes intoGrav\Plugin\ShortcodeCore
namespace with old alias
-
- Major code cleanup
-
- Added a new
[lorem]
shortcode for quickly generating lorem ipsum dummy content - Updated Core Thunderer Shortcode library to
0.7.3
for PHP 7.4 compatibility
- Added a new
-
- Support markdown in
Figure
shortcode caption attribute - FlexObjects compatibility: changed references to
Page
class to usePageInterface
- Reworked the
shortcode
twig var to use a class/method approach for better compatibility in modular/page formats
- Support markdown in
-
- Fix issue with
[language]
wheninclude_default_lang: false
#76
- Fix issue with
-
- Run
onContentProcessed()
event after all other plugins #75
- Run
-
- Added a new
[details][/details]
shortcode #72
- Added a new
- Fixed regression issue introduced in v1.4.3 #73
- Fix for shortcode objects not being available. For example
[section][/section]
not working previously withoutprocess: twig: true
README.md
improvements
- Added new
h#
tags forh1
throughh6
supportingclass
andid
attributes
- Make
ShortcodeManager::setStates()
more flexible to accept any type of object
- Updated Core Thunderer Shortcode library to
0.7.2
-
- Support for a
ShortCodeManager::getRawHandlers()
to support shortcodes that need to process before Markdown (like upcomingPrism-Highlighter
)
- Support for a
-
- Modified priority of
onPluginsInitialized
to fire earlier
- Modified priority of
-
- New language shortcode, for example
[lang=en]...[/lang]
- New language shortcode, for example
-
- Fixed issues with
0
param andregular
parser #14 #57 shortcode-ui#29 shortcode-ui#6
- Fixed issues with
-
- Update to latest Shortcode library
v0.7.0
which has over 10X performance for default regular parser - Added an option
admin_pages_only
to only process actualuser/pages/
based pages and not dynamic pages to increase performance
- Update to latest Shortcode library
-
- Added a new
span
shortcode that supportsclass
andid
attributes
- Added a new
-
- Switched default parser to
regular
- Using latest
dev-master
version which has a couple of key fixes
- Switched default parser to
-
- Support shortcodes in theme as well as plugins #43
-
- Switched to
Regex
parser by default (previous was Regex) - Update to latest Shortcode library v0.6.5
- Switched to
-
- Removed
getParameterAt(0)
hack in favor ofgetBbbCode()
that works with Regex parser
- Removed
-
- Update to latest Shortcode library v0.6.4 to address a parser bug #25
-
- renamed internal
contentMeta
variables toshortcodeMeta
andshortcodeAssets
- Update to latest Shortcode library
- renamed internal
-
- Always initialize current page even if collection exists #3
-
- Support modular pages by populating Twig variables in
onTwigPageVariables()
event #8
- Support modular pages by populating Twig variables in
-
- Better more flexible regex in the Markdown block definition for more reliable markdown in shortcodes. #3
-
- Added new
section
shortcode - Use new
contentMeta
mechanism for storing/caching objects and assets per page - Added new
ShortcodeManager::reset()
methods
- Added new
-
- Completely refactored the plugin to use a new extensible mechanism that makes it easier to manage multiple shortcodes
-
- Updated Shortcode to latest
dev-master
that includes Events
- Updated Shortcode to latest
-
- Fixed
raw
shortcode to use newFilterRawEventHandler
so it doesn't process shortcodes at all
- Fixed
-
- Added markdown-shortcode-block support to the plugin
-
- Updated Core Thunderer Shortcode library with some important fixes