sitegeist / Sitegeist.PaperTiger

Form builder for Neos CMS based on Neos.Fusion.Form
GNU General Public License v3.0
0 stars 3 forks source link

Placeholder insert plugin for RichTextEditor #32

Open lorenzulrich opened 7 months ago

lorenzulrich commented 7 months ago

In the (Fluid-based) Neos Form Builder, an "Insert placeholder" plugin is bundled that allows to insert placeholders for all the fields of the current form to the finisher text. See https://github.com/neos/form-builder/pull/46.

With support from @mhsdesign, we adapted this for PaperTiger:

image

The UI code is quite old and it could be solved more elegantly, but I wanted to ask if the maintainers of this package would be interested to include a clean version of this to PaperTiger?

lorenzulrich commented 7 months ago

(We also included an {allFormValues} placeholder to the e-mail finisher that outputs all form values as a definitoin list. This would also be a nice addition, but has no connection to this issue.)

mhsdesign commented 7 months ago

FYI For another client i also build a similar placeholder thing, but with actual ckeditor placeholders, which feel waaay better :D

https://ckeditor.com/docs/ckeditor5/latest/examples/framework/content-placeholder.html

mficzel commented 6 months ago

@lorenzulrich i am totally interested.