Ver Fonte

Simplify upcast converter.

Mateusz Samsel há 6 anos atrás
pai
commit
5a46b460b9
1 ficheiros alterados com 1 adições e 2 exclusões
  1. 1 2
      packages/ckeditor5-link/src/linkediting.js

+ 1 - 2
packages/ckeditor5-link/src/linkediting.js

@@ -170,8 +170,7 @@ export default class LinkEditing extends Plugin {
 					attributes: manualDecorators.get( decorator.id ).attributes
 					attributes: manualDecorators.get( decorator.id ).attributes
 				},
 				},
 				model: {
 				model: {
-					key: decorator.id,
-					value: true
+					key: decorator.id
 				}
 				}
 			} );
 			} );
 		} );
 		} );