Support for a snippets button in the Froala WYSIWYG richeditor field that when clicked presents a list of registered snippets to the user and enables them to inject snippets into their richeditor content.
Support for a parseSnippets Twig filter that is used to filter content produced by said snippets button in order to actually render the snippets.
This merges the work from https://github.com/inetis-ch/oc-richeditorsnippets-plugin by @inetis-ch & @matt-pawley into the core Winter.Pages plugin.
The following features are added by this PR:
snippets
button in the Froala WYSIWYGricheditor
field that when clicked presents a list of registered snippets to the user and enables them to inject snippets into their richeditor content.parseSnippets
Twig filter that is used to filter content produced by saidsnippets
button in order to actually render the snippets.