From 30f9b1d2d6ec1c2bb4d1a7e781e09ae8ffa0846c Mon Sep 17 00:00:00 2001 From: Marc Henry Schultz <85400359+mhsdesign@users.noreply.github.com> Date: Thu, 11 May 2023 14:10:02 +0200 Subject: [PATCH] Update Readme.md --- Readme.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 97c2f2b..fda5ca3 100644 --- a/Readme.md +++ b/Readme.md @@ -1,6 +1,27 @@ # Visol.Neos.ClipboardInputTransformation -Define a map of search and replacement strings, which are transformed when pasting content into the rich-text editor +```sh +composer require visol/neos-clipboardinputtransformation +``` + +Define a map of search and replacement strings, which are transformed when pasting content into the rich-text editor. + +```yaml +Neos: + Neos: + Ui: + frontendConfiguration: + "Visol.Neos.ClipboardInputTransformation": + replacements: + # for example replace LSEP and PSEP unicode chars + - search: "\u2029" + replace: "" + - search: "\u2028" + replace: "" + # or replace any string + - search: "speak now" + replace: "echo now" +``` # Credits