Decorate textarea fields with the Trumbowyg editor, support content sanitising and a restricted feature set by default
Decorate textarea fields with the Trumbowyg editor.
It is useful for gathering content where some form of formatting in HTML is required.
This module supports:
The module will not support:
Please use dedicated upload fields for that purpose.
This field is not intended for use in the administration area (although PRs are welcome for that)
The field pulls in required JS and CSS assets from cdnjs.com along with their respective Sub Resource Integrity hashes.
composer require nswdpc/silverstripe-trumbowyg
use NSWDPC\Utilities\Trumbowyg\TrumboywgEditorField; // TrumboywgEditorField extends TextareaField $field = TrumboywgEditorField::create('MyEditorField', 'Write something') ->setDescription("This is a description") ->setRightTitle("This is a right title");
See config.yml for module configuration values
We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.
Please review the code of conduct prior to opening a new issue.
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.
Please review the code of conduct prior to completing a pull request.
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem