Skip to content

Commit 924ff13

Browse files
erikruthIankodj
authored andcommitted
Update strip-html-on-paste.md
Just minor copy edits. I changed the original introduction to the list because "that" in the original sentence seemed vague to me.
1 parent c6032ad commit 924ff13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controls/editor/how-to/strip-html-on-paste.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ position: 7
1212

1313
This help article shows how to strip HTML tags from content that is pasted in **RadEditor**.
1414

15-
In order to implement this solution, you should:
15+
Follow these steps:
1616

1717
1. Handle the [OnClientPasteHtml event]({%slug editor/client-side-programming/events/onclientpastehtml%}).
1818
2. Catch the **Paste** command.
19-
3. Obtain the content via the `get_value()` method of the event arguments and modify it as needed.
19+
2. Obtain the content via the `get_value()` method of the event arguments and modify it as needed.
2020
4. Set the modified content via the `set_value()` method of the event arguments.
2121

2222
>caption Example 1: Stripping `<strong>`, `<em>` and `<span>` tags on paste in **RadEditor**.

0 commit comments

Comments
 (0)