murdercode / Nova4-TinymceEditor

A TinyMCE Field for Laravel Nova 4
MIT License
15 stars 12 forks source link

Protect feature #21

Closed murdercode closed 1 year ago

murdercode commented 1 year ago

This PR add a backward compatibility, plus a better control if config exists. It also remove protect from default config but instead we add instructions in Readme.

Original PR:

Added ability to set protect content as described in TinyMCE documentation - https://www.tiny.cloud/docs/tinymce/6/content-filtering/#protect

Modified FormField to parse protect, an array of regex string passed from Nova config Modify config and added protect index with a description of what it's intended