Removes HTML tags from text.
Warning: Based on a simple Regexp, might not work as expected, i.e. remove the wrong part, not remove anything or even mess up everything beyond recognition.
draft.content = draft.content.replace(/<\/?[^>]+(>|$)/g, ""); draft.update();
After Success Nothing Notification Info Log Level Info
Actions available in the Action Directory are uploaded by community members. Use appropriate caution reviewing downloaded actions before use.