Procházet zdrojové kódy

Fix arrow transformations.

Maciej Gołaszewski před 6 roky
rodič
revize
30519fc121

+ 4 - 4
packages/ckeditor5-typing/src/texttransformation.js

@@ -26,8 +26,8 @@ const TRANSFORMATIONS = {
 	less_then_or_equal: { from: '<=', to: '≤' },
 	greater_then_or_equal: { from: '>=', to: '≥' },
 	not_equal: { from: '!=', to: '≠' },
-	arrow_left: { from: '<-', to: '' },
-	arrow_right: { from: '->', to: '' },
+	arrow_left: { from: '<-', to: '' },
+	arrow_right: { from: '->', to: '' },
 
 	// Typography:
 	horizontal_ellipsis: { from: '...', to: '…' },
@@ -242,8 +242,8 @@ function expandGroupsAndRemoveDuplicates( definitions ) {
  *   - `less_then_or_equal`: `<=`, to: `≤`
  *   - `greater_then_or_equal`: `>=`, to: `≥`
  *   - `not_equal`: transforms `!=`, to: `≠`
- *   - `arrow_left`: transforms `<-`, to: ``
- *   - `arrow_right`: transforms `->`, to: ``
+ *   - `arrow_left`: transforms `<-`, to: ``
+ *   - `arrow_right`: transforms `->`, to: ``
  *
  * The other defined named transformations are:
  * * `quotes_primary_en_gb`: transforms `'Foo bar'` to `‘Foo bar’`