Nick Sauer adds Smart Word Processing Features to Rich Text Input

Input Rich Text has been around for a while. It sports a nice toolbar and allow rich text creation. Nick Sauer has enhanced it with a number of killer new features that add business productivity, including Find and Replace, Autoreplace, and Blocklists. As you can see below, these new features are available via a swanky bottom toolbar, and can be turned on or off as a group.

You can pass in a map of terms that you want to automatically replace.

How it Works:

Use Case Example:  Business has the need  to enter customer-facing details that:

  1. Blocks users from entering certain sensitive words/symbols
  2. Automatically applies Trademarks (™) or other company-specific terminology.
  3. Allows for Find & Replace tool to correct mistakes

Component Setup:

ParameterIOInformation
enableAdvancedToolsXBoolean. Set to true if you want to use these enhanced rich text features. Default is false (regular input component)
autoReplaceMapXJSON formatted key:value map. (example => {“Test”: “GreatTest™”} )
disallowedSymbolsXComma-separated list of words to block. Example: /,@,*
disallowedWordsXComma-separated list of words to block. Example: bad,worse,worst
warnOnlyXBoolean. Set to True if you want to allow Next even where disallowed Symbol or Word remains. Default is false.
valueXXInput and output Rich Text that you’ll be editing
labelXXInput to provide field-level label if desired (label not read only on v1, so left as-is to prevent breaking existing implementations).
characterCount1) Character count is off by default. Set characterLimit to an integer value to show character count and limit.
2) If warnOnly is not set when characterLimit is on, then the Flow Next/Finish cannot be used until resolved

Component Input Example:

Installation:

1.3 Unlocked 8/1/20

Resources:

Source

Old Versions

1.0.1

Subscribe
Notify of
guest
19 Comments
Inline Feedbacks
View all comments
Gidi Abramovich

This look amazing, thank you Nick!

[…] UPDATE: We recommend you use this more powerful, more recent version of rich text input […]

[…] SF has posted my first contribution to their incredible collection of components! I only have 99 to go to get ‘even’ for […]

david cheng

This only works if there is existing text in the value’s variable. If the variable starts as blank, then any text entry is not saved.

Is there any fix for this? We don’t want to display any existing or placeholder text for the user.

Jaime

Hello, I was using the previous version but for some reason, from time to time it suddenly stopped working without a cause and it didn’t capture any output value. Now I have updated this component to the newest version and it turns out… it never works!! Doesn’t matter whether there is a value or not in the input value, the output value is always what there was in the input value. So if the input value was defaulted to “Text” then the output value will always be “Text”. I have tried different alternatives for the input value: plain text, formulas,… Read more »

Jaime

Hi Nick, thanks for the fix! 😀
Should I have to reinstall the component? Is the fixed version available now?

Jaime

Thank you Nick,
just to be clear about how this process works (sorry but I’m not quite used to this), will the date at the top of the page be updated when the new version is released?

I assume I’ll have to download the component again in order to implement the fix.

Thanks again!

Last edited 2 months ago by Jaime
Jaime

I mean this date

2020-07-27 10_55_41-Nick Sauer adds Smart Word Processing Features to Rich Text Input – UnofficialSF.png
Jaime

Nick, I have tried this workaround you’ve mentioned and with that I have managed to make it work again. Thanks!!
This is good enough while the fixed version is released.

Alex Edelstein

New version 1.3 available above with all of Nick’s fixes.

Kate Minton

Hello! I am very excited for these changes. It seems the character counts starts at 8 instead of 1 though. I assume I can just bump the limit by 7 and “get around” it. Just thought I would mention it.

Kate Minton

oh i see, that won’t work because it is counting <p> and </p> in the characters. Let me see if i can take those out somehow

Nick Sauer

Hi Kate – correct. Rich Text will always have <p> </p> so the starting count will be 8.