Browse Source

Add (r) to ® transformation.

Maciej Gołaszewski 6 years ago
parent
commit
39e1304244

+ 1 - 0
packages/ckeditor5-typing/src/texttransformation.js

@@ -14,6 +14,7 @@ import TextWatcher from '@ckeditor/ckeditor5-utils/src/textwatcher';
 const DEFAULT_TRANSFORMATIONS = [
 	// Common symbols:
 	{ from: '(c)', to: '©' },
+	{ from: '(r)', to: '®' },
 	{ from: '(tm)', to: '™' },
 
 	// Mathematical:

+ 1 - 0
packages/ckeditor5-typing/tests/texttransformation.js

@@ -53,6 +53,7 @@ describe( 'Text transformation feature', () => {
 
 		describe( 'symbols', () => {
 			testTransformation( '(c)', '©' );
+			testTransformation( '(r)', '®' );
 			testTransformation( '(tm)', '™' );
 		} );