diff --git a/knowledge-base/editor-prevent-switching-double-quotes-single-quotes.md b/knowledge-base/editor-prevent-switching-double-quotes-single-quotes.md new file mode 100644 index 000000000..10a0700f9 --- /dev/null +++ b/knowledge-base/editor-prevent-switching-double-quotes-single-quotes.md @@ -0,0 +1,123 @@ +--- +title: Switching Double Quotes with Single Quotes in Telerik UI for RichText Editor +description: Learn how to prevent the switching of double quotes and single quotes in Telerik UI for RichText Editor when toggling between Design and HTML mode. +type: how-to +page_title: Prevent Switching of Double Quotes and Single Quotes | Telerik UI for RichText Editor +slug: editor-prevent-switching-double-quotes-single-quotes +tags: telerik, radeditor, richtext editor, double quotes, single quotes, HTML mode, Design mode +res_type: kb +--- + +## Environment + +| Product | RadEditor for ASP.NET AJAX | + +## Description + +I want to prevent the automatic switching of double quotes (`"`) with single quotes (`'`) and vice versa in Telerik UI for ASP.NET AJAX RadEditor when toggling between Design and HTML mode. This behavior breaks the HTML5 data attribute element, as the single quote formatting is important for the JSON specification. + +Before (HTML mode): + +````HTML +
+```` + + +After (Design mode): + + +````HTML +
+ + + + + + + + + test
test test +
+ + + + +``` + + +