Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
kmagness
3 discussion posts
I'm running into an issue that I think is a byproduct of Salesforce field formatting, and the fact that Clipboardfusion doesn't copy and store formatted text yet.

If I CTRL + C then CTRL + V text in Salesforce, with auto-scrubbing off, it pastes exactly the way it should. If I copy and paste it via the Clipboard Fusion history menu, or have auto-scrubbing on, I get an extra line break added between every line.
Example:

Code

Test1
test2

test3


Turns into:

Code

Test1

test2

 

test3


The built in functions to remove line breaks doesn't work due to not wanting all line breaks removed. I'm only looking to have the extras scrubbed if possible. Any help or ideas would be amazing, thank you!
• Attachment [protected]: ClipboardFusion_2021_16-18_45_57.png [12,097 bytes]
Nov 17, 2021  • #1
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Hello,

Are you looking to keep single line breaks, but remove any double/triple entries?

Thanks!
Nov 17, 2021  • #2
User Image
kmagness
3 discussion posts
I think that would be the best workaround for this situation. My goal is to have it look the same way it does in the source field. One issue might be the single line breaks added between lines that weren't there originally. I'm not sure how to fix that scenario. Thanks for taking a look!
Nov 17, 2021  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
You can actually remove triple and double linebreaks with a text replace Trigger. Please see the attached screenshot for reference :)
• Attachment: TriggerRemoveTripleAndDoubleLineBreaks.png [64,608 bytes]
TriggerRemoveTripleAndDoubleLineBreaks.png
TriggerRemoveTripleAndDoubleLineBreaks.png
Nov 24, 2021  • #4
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(1)  Login to Vote(-)