qms-angular 1.1.88 → 1.1.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -176,8 +176,9 @@ export default class AnchorUI extends Plugin {
|
|
176
176
|
const { value } = formView.urlInputView.fieldView.element;
|
177
177
|
const parsedUrl = addAnchorProtocolIfApplicable( value, defaultProtocol );
|
178
178
|
if(editor.model.document.selection.anchor.nodeAfter) {
|
179
|
-
// Case anchor content is not empty
|
180
|
-
|
179
|
+
// Case anchor content is not empty
|
180
|
+
//TODO False is default but QMS set it to true look like ck4
|
181
|
+
editor.execute( 'anchor', parsedUrl, formView.getDecoratorSwitchesState() , true);
|
181
182
|
} else {
|
182
183
|
// Case anchor content is empty
|
183
184
|
editor.execute( 'anchor', parsedUrl, formView.getDecoratorSwitchesState() , true);
|