Can klipper ignore copied texts?

I’m being bit by this bug:

Even if the bug was fixed, which is not, I would have to wait until Atlassian and my company’s IT dept would update the TinyMCE version.

So my question is: can klipper ignore copied texts?

I tried setting an action for the %MCEPASTEBIN% text with this command:

qdbus org.kde.klipper /klipper org.kde.klipper.klipper.setClipboardContents $(qdbus org.kde.klipper /klipper org.kde.klipper.klipper.getClipboardHistoryItem 1)

This replaces the clipboard with the previous to last entry, effectively replacing the %MCEPASTEBIN% with the text I expect to be there. But somehow it’s not working. Here’s the plasmashellrc sections for that:

[Action_0]
Automatic=true
Description=Delete TinyMCE pastebin mark
Number of commands=1
Regexp=%MCEPASTEBIN%

[Action_0/Command_0]
Commandline[$e]=qdbus org.kde.klipper /klipper org.kde.klipper.klipper.setClipboardContents $$(qdbus org.kde.klipper /klipper org.kde.klipper.klipper.getClipboardHistoryItem 1)
Description=Replace current clipboard with the previous entry
Enabled=true
Icon=
Output=0