qms-angular 1.1.69 → 1.1.71
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.
- package/bundles/qms-angular.umd.js +73 -15
- package/bundles/qms-angular.umd.js.map +1 -1
- package/esm2015/lib/common/jointJS/bpmn/bpmn.custom.function.js +1 -2
- package/esm2015/lib/components/select-department-tree/select-department-tree.component.js +2 -2
- package/esm2015/lib/model/en.js +13 -2
- package/esm2015/lib/model/no.js +12 -1
- package/esm2015/lib/model/sv.js +12 -1
- package/esm2015/lib/qms-ckeditor-components/common/functions/common.function.js +2 -1
- package/esm2015/lib/qms-ckeditor-components/common/functions/resource.function.js +17 -6
- package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +22 -8
- package/fesm2015/qms-angular.js +73 -15
- package/fesm2015/qms-angular.js.map +1 -1
- package/lib/model/en.d.ts +11 -0
- package/lib/model/no.d.ts +11 -0
- package/lib/model/sv.d.ts +11 -0
- package/lib/qms-ckeditor-components/common/functions/resource.function.d.ts +15 -4
- package/lib/qms-ckeditor-components/qms-ckeditor.component.d.ts +3 -2
- package/package.json +1 -1
- package/qms-angular.metadata.json +1 -1
- package/src/assets/qms-ckeditor-plugin/package-lock.json +372 -607
- package/src/assets/qms-ckeditor-plugin/src/ckeditor.js +242 -152
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/index.js +62 -16
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharacters.js +255 -254
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersarrows.js +154 -60
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersbasiclatin.js +137 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersblockelements.js +74 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersbopomofo.js +90 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersboxdrawing.js +170 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersbraillepatterns.js +298 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharacterscjkradicalssupplement.js +170 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharacterscjksymbolsandpunctuation.js +106 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharacterscombiningdiacriticalmarks.js +139 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharacterscombiningdiacriticalmarksforsymbols.js +90 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharacterscontrolpictures.js +106 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharacterscurrencysymbols.js +90 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharacterscyrillic.js +298 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharacterscyrillicsupplementary.js +90 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersdingbats.js +234 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersenclosedalphanumerics.js +202 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersgeneralpunctuation.js +160 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersgeometricshapes.js +138 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersgreekandcoptic.js +186 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersgreekextended.js +154 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactershiragana.js +138 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersideographicdescriptioncharacters.js +58 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersipaextensions.js +174 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharacterskangxiradicals.js +266 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharacterskatakana.js +138 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharacterslatin1supplement.js +144 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharacterslatinextendeda.js +179 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharacterslatinextendedadditional.js +327 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharacterslatinextendedb.js +340 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersletterlikesymbols.js +122 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersmathematicaloperatorssymbol.js +300 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersmestbrukte.js +99 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersmiscellaneousmathematicalsymbolsa.js +90 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersmiscellaneousmathematicalsymbolsb.js +170 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersmiscellaneoussymbols.js +297 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersmiscellaneoussymbolsandarrows.js +298 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersmiscellaneoustechnical.js +298 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersnumberforms.js +106 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersopticalcharacterrecognition.js +74 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersphoneticextensions.js +179 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersspacingmodifierletters.js +139 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharactersspecials.js +46 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharacterssuperscriptsandsubscripts.js +92 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharacterssupplementalarrowsa.js +58 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharacterssupplementalarrowsb.js +170 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/src/specialcharacterssupplementalmathematicaloperators.js +298 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/theme/charactergrid.css +14 -12
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-special-characters/theme/specialcharacters.css +15 -10
- package/src/assets/qms-ckeditor-plugin/src/plugins/clipboard/clipboardPlugin.js +161 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/clipboard/qms-clipboardcommand-paste.js +20 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/clipboard/qms-clipboardcommand.js +21 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/showBlocks/showBlocksPlugin.js +131 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/showBlocks/showBlockscommand.js +13 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/softHyphen/softHyphenPlugin.js +91 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/softHyphen/softHyphencommand.js +13 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/table/verticalAlign/verticalAlignPlugin.js +102 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/table/verticalAlign/verticalAligncommand.js +13 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/tableofcontents/tableofcontentscommand.js +87 -87
- package/src/assets/qms-ckeditor-plugin/src/plugins/tableofcontents/tableofcontentsediting.js +59 -59
- package/src/assets/qms-ckeditor-plugin/src/plugins/tableofcontents/tableofcontentsui.js +34 -34
- package/src/assets/qms-ckeditor-plugin/src/themes/icons/copy.svg +1 -0
- package/src/assets/qms-ckeditor-plugin/src/themes/icons/cut.svg +1 -0
- package/src/assets/qms-ckeditor-plugin/src/themes/icons/paste.svg +1 -0
- package/src/assets/qms-ckeditor-plugin/src/themes/icons/pasteText.svg +3 -0
- package/src/assets/qms-ckeditor-plugin/src/themes/icons/pasteWord.svg +3 -0
- package/src/assets/qms-ckeditor-plugin/src/themes/icons/show-blocks.svg +24 -0
- package/src/assets/qms-ckeditor-plugin/src/themes/icons/soft-hyphen.svg +1 -0
- package/src/assets/qms-ckeditor-plugin/src/themes/icons/table-excel.svg +1 -44
- package/src/lib/qms-ckeditor-components/qms-ckeditor.component.scss +50 -4
- package/src/assets/qms-ckeditor-plugin/build/translations/af.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ar.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ast.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/az.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/bg.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ca.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/cs.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/da.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/de-ch.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/de.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/el.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/en-au.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/en-gb.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/eo.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/es.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/et.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/eu.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/fa.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/fi.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/fr.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/gl.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/gu.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/he.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/hi.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/hr.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/hu.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/id.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/it.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ja.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/kk.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/km.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/kn.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ko.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ku.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/lt.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/lv.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ms.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/nb.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ne.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/nl.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/no.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/oc.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/pl.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/pt-br.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/pt.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ro.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ru.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/si.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/sk.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/sl.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/sq.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/sr-latn.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/sr.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/sv.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/th.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/tk.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/tr.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/tt.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ug.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/uk.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/vi.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/zh-cn.js +0 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/zh.js +0 -1
package/src/assets/qms-ckeditor-plugin/src/plugins/tableofcontents/tableofcontentscommand.js
CHANGED
@@ -1,87 +1,87 @@
|
|
1
|
-
import { Command } from '@ckeditor/ckeditor5-core';
|
2
|
-
import { rangeToText, getAttributeValueOn, setAttributeOn, TOC_ELEMENTS, TOC_ATTRIBUTES} from './utils';
|
3
|
-
import { findOptimalInsertionPosition } from '@ckeditor/ckeditor5-widget/src/utils';
|
4
|
-
import { trimStart } from '../common/qmsCKEditorUtil';
|
5
|
-
|
6
|
-
export default class TableOfContentsCommand extends Command {
|
7
|
-
|
8
|
-
execute(
|
9
|
-
const editor = this.editor;
|
10
|
-
const model = editor.model;
|
11
|
-
model.change(writer => {
|
12
|
-
const headingObject = this._findHeadingElements(options.headings);
|
13
|
-
if(Object.keys(headingObject).length > 0){
|
14
|
-
const tocObject = this._buildTOCElements(headingObject);
|
15
|
-
this._setAnchorIdAttribute(headingObject, tocObject, writer);
|
16
|
-
this._insertTOCElements(tocObject, writer);
|
17
|
-
}
|
18
|
-
});
|
19
|
-
}
|
20
|
-
|
21
|
-
_insertTOCElements(tocObject, writer){
|
22
|
-
let position;
|
23
|
-
Object.keys(tocObject).forEach((key) => {
|
24
|
-
const section = tocObject[key];
|
25
|
-
const paragraphElement = writer.createElement(TOC_ELEMENTS.PARAGRAPH, { ...section.attributes });
|
26
|
-
const textElement = writer.createText(section.text, { [TOC_ATTRIBUTES.LINK_HREF]: '#' + section.id });
|
27
|
-
writer.insert(textElement, writer.createPositionAt(paragraphElement, 0));
|
28
|
-
if(!position){
|
29
|
-
position = findOptimalInsertionPosition(this.editor.model.document.selection, this.editor.model);
|
30
|
-
}
|
31
|
-
const { end: positionAfter } = this.editor.model.insertContent(paragraphElement, position);
|
32
|
-
position = positionAfter;
|
33
|
-
});
|
34
|
-
}
|
35
|
-
|
36
|
-
_setAnchorIdAttribute(headingObject, tocObject, writer){
|
37
|
-
Object.keys(tocObject).forEach((key) =>{
|
38
|
-
const node = headingObject[key];
|
39
|
-
const sectionOject = tocObject[key];
|
40
|
-
if(!sectionOject.hasAnchorId){
|
41
|
-
const range = this.editor.model.createRangeIn(node);
|
42
|
-
const attribute = { key: TOC_ATTRIBUTES.ANCHOR_ID, value: sectionOject.id }
|
43
|
-
const hasAnchorId = setAttributeOn(range, this.editor.model.schema, writer, attribute);
|
44
|
-
if(!hasAnchorId){
|
45
|
-
let childNode = writer.createText('\u00A0', { [TOC_ATTRIBUTES.ANCHOR_ID]: sectionOject.id });//insert non-breaking space
|
46
|
-
writer.insert(childNode, writer.createPositionAt(node, 0));
|
47
|
-
}
|
48
|
-
}
|
49
|
-
});
|
50
|
-
}
|
51
|
-
|
52
|
-
_buildTOCElements(headingObject){
|
53
|
-
const tocObject = {};
|
54
|
-
let index = 1;
|
55
|
-
Object.keys(headingObject).forEach(key =>{
|
56
|
-
const node = headingObject[key];
|
57
|
-
const range = this.editor.model.createRangeIn(node);
|
58
|
-
const attributes = Object.fromEntries(node.getAttributes());
|
59
|
-
const name = node.name.toLowerCase();
|
60
|
-
attributes[TOC_ATTRIBUTES.HEADING_CLASS] = name;
|
61
|
-
const text = rangeToText(range) || '';
|
62
|
-
let id = trimStart(text, '#').replace(/[^a-z0-9\+]/gi, '').toLowerCase() + index;
|
63
|
-
let hasAnchorId = false;
|
64
|
-
const anchorId = getAttributeValueOn(range, TOC_ATTRIBUTES.ANCHOR_ID);
|
65
|
-
if(!!anchorId){
|
66
|
-
id = trimStart(anchorId, '#');
|
67
|
-
hasAnchorId = true;
|
68
|
-
}
|
69
|
-
tocObject[key] = { id, name, text, hasAnchorId, attributes };
|
70
|
-
index++;
|
71
|
-
});
|
72
|
-
return tocObject;
|
73
|
-
}
|
74
|
-
|
75
|
-
_findHeadingElements(supportedHeadings){
|
76
|
-
const headingObject = {};
|
77
|
-
const range = this.editor.model.createRangeIn(this.editor.model.document.getRoot());
|
78
|
-
for (const value of range.getWalker()) {
|
79
|
-
const node = value.item;
|
80
|
-
if (node.is('element') && supportedHeadings.
|
81
|
-
|
82
|
-
headingObject[path] = node;
|
83
|
-
}
|
84
|
-
}
|
85
|
-
return headingObject;
|
86
|
-
}
|
87
|
-
}
|
1
|
+
import { Command } from '@ckeditor/ckeditor5-core';
|
2
|
+
import { rangeToText, getAttributeValueOn, setAttributeOn, TOC_ELEMENTS, TOC_ATTRIBUTES } from './utils';
|
3
|
+
import { findOptimalInsertionPosition } from '@ckeditor/ckeditor5-widget/src/utils';
|
4
|
+
import { trimStart } from '../common/qmsCKEditorUtil';
|
5
|
+
|
6
|
+
export default class TableOfContentsCommand extends Command {
|
7
|
+
|
8
|
+
execute(options = {}) {
|
9
|
+
const editor = this.editor;
|
10
|
+
const model = editor.model;
|
11
|
+
model.change(writer => {
|
12
|
+
const headingObject = this._findHeadingElements(options.headings);
|
13
|
+
if (Object.keys(headingObject).length > 0) {
|
14
|
+
const tocObject = this._buildTOCElements(headingObject);
|
15
|
+
this._setAnchorIdAttribute(headingObject, tocObject, writer);
|
16
|
+
this._insertTOCElements(tocObject, writer);
|
17
|
+
}
|
18
|
+
});
|
19
|
+
}
|
20
|
+
|
21
|
+
_insertTOCElements(tocObject, writer) {
|
22
|
+
let position;
|
23
|
+
Object.keys(tocObject).forEach((key) => {
|
24
|
+
const section = tocObject[key];
|
25
|
+
const paragraphElement = writer.createElement(TOC_ELEMENTS.PARAGRAPH, { ...section.attributes });
|
26
|
+
const textElement = writer.createText(section.text, { [TOC_ATTRIBUTES.LINK_HREF]: '#' + section.id });
|
27
|
+
writer.insert(textElement, writer.createPositionAt(paragraphElement, 0));
|
28
|
+
if (!position) {
|
29
|
+
position = findOptimalInsertionPosition(this.editor.model.document.selection, this.editor.model);
|
30
|
+
}
|
31
|
+
const { end: positionAfter } = this.editor.model.insertContent(paragraphElement, position);
|
32
|
+
position = positionAfter;
|
33
|
+
});
|
34
|
+
}
|
35
|
+
|
36
|
+
_setAnchorIdAttribute(headingObject, tocObject, writer) {
|
37
|
+
Object.keys(tocObject).forEach((key) => {
|
38
|
+
const node = headingObject[key];
|
39
|
+
const sectionOject = tocObject[key];
|
40
|
+
if (!sectionOject.hasAnchorId) {
|
41
|
+
const range = this.editor.model.createRangeIn(node);
|
42
|
+
const attribute = { key: TOC_ATTRIBUTES.ANCHOR_ID, value: sectionOject.id }
|
43
|
+
const hasAnchorId = setAttributeOn(range, this.editor.model.schema, writer, attribute);
|
44
|
+
if (!hasAnchorId) {
|
45
|
+
let childNode = writer.createText('\u00A0', { [TOC_ATTRIBUTES.ANCHOR_ID]: sectionOject.id });//insert non-breaking space
|
46
|
+
writer.insert(childNode, writer.createPositionAt(node, 0));
|
47
|
+
}
|
48
|
+
}
|
49
|
+
});
|
50
|
+
}
|
51
|
+
|
52
|
+
_buildTOCElements(headingObject) {
|
53
|
+
const tocObject = {};
|
54
|
+
let index = 1;
|
55
|
+
Object.keys(headingObject).forEach(key => {
|
56
|
+
const node = headingObject[key];
|
57
|
+
const range = this.editor.model.createRangeIn(node);
|
58
|
+
const attributes = Object.fromEntries(node.getAttributes());
|
59
|
+
const name = node.name.toLowerCase();
|
60
|
+
attributes[TOC_ATTRIBUTES.HEADING_CLASS] = name;
|
61
|
+
const text = rangeToText(range) || '';
|
62
|
+
let id = trimStart(text, '#').replace(/[^a-z0-9\+]/gi, '').toLowerCase() + index;
|
63
|
+
let hasAnchorId = false;
|
64
|
+
const anchorId = getAttributeValueOn(range, TOC_ATTRIBUTES.ANCHOR_ID);
|
65
|
+
if (!!anchorId) {
|
66
|
+
id = trimStart(anchorId, '#');
|
67
|
+
hasAnchorId = true;
|
68
|
+
}
|
69
|
+
tocObject[key] = { id, name, text, hasAnchorId, attributes };
|
70
|
+
index++;
|
71
|
+
});
|
72
|
+
return tocObject;
|
73
|
+
}
|
74
|
+
|
75
|
+
_findHeadingElements(supportedHeadings) {
|
76
|
+
const headingObject = {};
|
77
|
+
const range = this.editor.model.createRangeIn(this.editor.model.document.getRoot());
|
78
|
+
for (const value of range.getWalker()) {
|
79
|
+
const node = value.item;
|
80
|
+
if (node.is('element') && supportedHeadings.includes(node.name)) {
|
81
|
+
const path = node.getPath().join(',');
|
82
|
+
headingObject[path] = node;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
return headingObject;
|
86
|
+
}
|
87
|
+
}
|
package/src/assets/qms-ckeditor-plugin/src/plugins/tableofcontents/tableofcontentsediting.js
CHANGED
@@ -1,59 +1,59 @@
|
|
1
|
-
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
2
|
-
import { TOC_ATTRIBUTES, TOC_COMMAND, normalizeHeadingOptions } from './utils';
|
3
|
-
import TableOfContentsCommand from './tableofcontentscommand';
|
4
|
-
import '../../themes/styles/heading.css';
|
5
|
-
|
6
|
-
export default class TableOfContentsEditing extends Plugin {
|
7
|
-
static get pluginName() {
|
8
|
-
return 'TableOfContentsEditing';
|
9
|
-
}
|
10
|
-
|
11
|
-
init() {
|
12
|
-
const editor = this.editor;
|
13
|
-
const model = editor.model;
|
14
|
-
const supportedHeadings = normalizeHeadingOptions(editor.config.get('
|
15
|
-
model.schema.extend('$block', { allowAttributes: TOC_ATTRIBUTES.HEADING_CLASS } );
|
16
|
-
model.schema.setAttributeProperties(TOC_ATTRIBUTES.HEADING_CLASS, { isFormatting: true } );
|
17
|
-
editor.conversion.attributeToAttribute(buildClassDefinition(supportedHeadings));
|
18
|
-
editor.commands.add(TOC_COMMAND, new TableOfContentsCommand(editor));
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
function buildClassDefinition( supportedHeadings ) {
|
23
|
-
const options = [];
|
24
|
-
supportedHeadings.forEach((name) =>{
|
25
|
-
try{
|
26
|
-
/* Reference to the default config of the heading plugin
|
27
|
-
editor.config.define( 'heading', {
|
28
|
-
options: [
|
29
|
-
{ model: 'paragraph', title: 'Paragraph', class: 'ck-heading_paragraph' },
|
30
|
-
{ model: 'heading1', view: 'h2', title: 'Heading 1', class: 'ck-heading_heading1' },
|
31
|
-
{ model: 'heading2', view: 'h3', title: 'Heading 2', class: 'ck-heading_heading2' },
|
32
|
-
{ model: 'heading3', view: 'h4', title: 'Heading 3', class: 'ck-heading_heading3' }
|
33
|
-
]
|
34
|
-
}); */
|
35
|
-
const level = parseInt(name.replace('heading', '')) + 1;
|
36
|
-
const className = 'h' + level;
|
37
|
-
options.push({ name, className });
|
38
|
-
}
|
39
|
-
catch{
|
40
|
-
|
41
|
-
}
|
42
|
-
});
|
43
|
-
|
44
|
-
const definition = {
|
45
|
-
model: {
|
46
|
-
key: TOC_ATTRIBUTES.HEADING_CLASS,
|
47
|
-
values: options.map(option => option.name)
|
48
|
-
},
|
49
|
-
view: {}
|
50
|
-
};
|
51
|
-
|
52
|
-
for (const option of options) {
|
53
|
-
definition.view[option.name] = {
|
54
|
-
key: 'class',
|
55
|
-
value: option.className
|
56
|
-
};
|
57
|
-
}
|
58
|
-
return definition;
|
59
|
-
}
|
1
|
+
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
2
|
+
import { TOC_ATTRIBUTES, TOC_COMMAND, normalizeHeadingOptions } from './utils';
|
3
|
+
import TableOfContentsCommand from './tableofcontentscommand';
|
4
|
+
import '../../themes/styles/heading.css';
|
5
|
+
|
6
|
+
export default class TableOfContentsEditing extends Plugin {
|
7
|
+
static get pluginName() {
|
8
|
+
return 'TableOfContentsEditing';
|
9
|
+
}
|
10
|
+
|
11
|
+
init() {
|
12
|
+
const editor = this.editor;
|
13
|
+
const model = editor.model;
|
14
|
+
const supportedHeadings = normalizeHeadingOptions(editor.config.get('tableOfContentHeadings'));
|
15
|
+
model.schema.extend('$block', { allowAttributes: TOC_ATTRIBUTES.HEADING_CLASS } );
|
16
|
+
model.schema.setAttributeProperties(TOC_ATTRIBUTES.HEADING_CLASS, { isFormatting: true } );
|
17
|
+
editor.conversion.attributeToAttribute(buildClassDefinition(supportedHeadings));
|
18
|
+
editor.commands.add(TOC_COMMAND, new TableOfContentsCommand(editor));
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
function buildClassDefinition( supportedHeadings ) {
|
23
|
+
const options = [];
|
24
|
+
supportedHeadings.forEach((name) =>{
|
25
|
+
try{
|
26
|
+
/* Reference to the default config of the heading plugin
|
27
|
+
editor.config.define( 'heading', {
|
28
|
+
options: [
|
29
|
+
{ model: 'paragraph', title: 'Paragraph', class: 'ck-heading_paragraph' },
|
30
|
+
{ model: 'heading1', view: 'h2', title: 'Heading 1', class: 'ck-heading_heading1' },
|
31
|
+
{ model: 'heading2', view: 'h3', title: 'Heading 2', class: 'ck-heading_heading2' },
|
32
|
+
{ model: 'heading3', view: 'h4', title: 'Heading 3', class: 'ck-heading_heading3' }
|
33
|
+
]
|
34
|
+
}); */
|
35
|
+
const level = parseInt(name.replace('heading', '')) + 1;
|
36
|
+
const className = 'h' + level;
|
37
|
+
options.push({ name, className });
|
38
|
+
}
|
39
|
+
catch{
|
40
|
+
|
41
|
+
}
|
42
|
+
});
|
43
|
+
|
44
|
+
const definition = {
|
45
|
+
model: {
|
46
|
+
key: TOC_ATTRIBUTES.HEADING_CLASS,
|
47
|
+
values: options.map(option => option.name)
|
48
|
+
},
|
49
|
+
view: {}
|
50
|
+
};
|
51
|
+
|
52
|
+
for (const option of options) {
|
53
|
+
definition.view[option.name] = {
|
54
|
+
key: 'class',
|
55
|
+
value: option.className
|
56
|
+
};
|
57
|
+
}
|
58
|
+
return definition;
|
59
|
+
}
|
@@ -1,35 +1,35 @@
|
|
1
|
-
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
2
|
-
import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview';
|
3
|
-
import tableIcon from '../../themes/icons/table-excel.svg';
|
4
|
-
import { TOC_COMMAND, normalizeHeadingOptions } from './utils';
|
5
|
-
|
6
|
-
export default class TableOfContentsUI extends Plugin {
|
7
|
-
static get pluginName() {
|
8
|
-
return 'TableOfContentsUI';
|
9
|
-
}
|
10
|
-
|
11
|
-
init() {
|
12
|
-
const editor = this.editor;
|
13
|
-
const t = editor.t;
|
14
|
-
const supportedHeadings = normalizeHeadingOptions(editor.config.get('
|
15
|
-
editor.ui.componentFactory.add('tableOfContents', locale => {
|
16
|
-
const buttonView = new ButtonView( locale );
|
17
|
-
buttonView.set( {
|
18
|
-
label: t('Create
|
19
|
-
icon: tableIcon,
|
20
|
-
withText: false,
|
21
|
-
tooltip: true
|
22
|
-
} );
|
23
|
-
|
24
|
-
// Bind button to the command.
|
25
|
-
const tocCommand = editor.commands.get(TOC_COMMAND);
|
26
|
-
buttonView.bind('isEnabled').to(tocCommand, 'isEnabled' );
|
27
|
-
buttonView.bind('isOn').to(tocCommand, 'value', value => !!value );
|
28
|
-
|
29
|
-
buttonView.on('execute', () => {
|
30
|
-
editor.execute(TOC_COMMAND, { headings: supportedHeadings });
|
31
|
-
});
|
32
|
-
return buttonView;
|
33
|
-
});
|
34
|
-
}
|
1
|
+
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
2
|
+
import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview';
|
3
|
+
import tableIcon from '../../themes/icons/table-excel.svg';
|
4
|
+
import { TOC_COMMAND, normalizeHeadingOptions } from './utils';
|
5
|
+
|
6
|
+
export default class TableOfContentsUI extends Plugin {
|
7
|
+
static get pluginName() {
|
8
|
+
return 'TableOfContentsUI';
|
9
|
+
}
|
10
|
+
|
11
|
+
init() {
|
12
|
+
const editor = this.editor;
|
13
|
+
const t = editor.t;
|
14
|
+
const supportedHeadings = normalizeHeadingOptions(editor.config.get('tableOfContentHeadings'));
|
15
|
+
editor.ui.componentFactory.add('tableOfContents', locale => {
|
16
|
+
const buttonView = new ButtonView( locale );
|
17
|
+
buttonView.set( {
|
18
|
+
label: t('Create table of contents'),
|
19
|
+
icon: tableIcon,
|
20
|
+
withText: false,
|
21
|
+
tooltip: true
|
22
|
+
} );
|
23
|
+
|
24
|
+
// Bind button to the command.
|
25
|
+
const tocCommand = editor.commands.get(TOC_COMMAND);
|
26
|
+
buttonView.bind('isEnabled').to(tocCommand, 'isEnabled' );
|
27
|
+
buttonView.bind('isOn').to(tocCommand, 'value', value => !!value );
|
28
|
+
|
29
|
+
buttonView.on('execute', () => {
|
30
|
+
editor.execute(TOC_COMMAND, { headings: supportedHeadings });
|
31
|
+
});
|
32
|
+
return buttonView;
|
33
|
+
});
|
34
|
+
}
|
35
35
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#5f6368"><path d="M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-560h80v560h440v80H200Zm160-240v-480 480Z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 960" width="24px" height="24px"><g xmlns="http://www.w3.org/2000/svg" transform="matrix(0 -1 1 0 960 960)"><path d="M760-120 480-400l-94 94q8 15 11 32t3 34q0 66-47 113T240-80q-66 0-113-47T80-240q0-66 47-113t113-47q17 0 34 3t32 11l94-94-94-94q-15 8-32 11t-34 3q-66 0-113-47T80-720q0-66 47-113t113-47q66 0 113 47t47 113q0 17-3 34t-11 32l494 494v40H760ZM600-520l-80-80 240-240h120v40L600-520ZM240-640q33 0 56.5-23.5T320-720q0-33-23.5-56.5T240-800q-33 0-56.5 23.5T160-720q0 33 23.5 56.5T240-640Zm240 180q8 0 14-6t6-14q0-8-6-14t-14-6q-8 0-14 6t-6 14q0 8 6 14t14 6ZM240-160q33 0 56.5-23.5T320-240q0-33-23.5-56.5T240-320q-33 0-56.5 23.5T160-240q0 33 23.5 56.5T240-160Z" /></g></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#5f6368"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M19 2h-4.18C14.4.84 13.3 0 12 0S9.6.84 9.18 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"/></svg>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" height="24px" viewBox="0 0 256 256" enable-background="new 0 0 256 256" xml:space="preserve">
|
2
|
+
<g><g><path fill="#000000" d="M167.3,33.6h-31.5V17.8c0-8.7-7.1-15.7-15.7-15.7H88.7c-8.7,0-15.7,7.1-15.7,15.7v15.7H41.4v35.9h125.9V33.6L167.3,33.6z M120.1,33.6H88.7V17.9l0,0h31.4l0,0V33.6z M198.8,94.7V41.5c0-4.3-3.5-7.9-7.9-7.9h-15.7v15.7h7.9v45.3H92.9v122.3H25.7V49.3h7.9V33.6H17.9c-4.3,0-7.9,3.5-7.9,7.9v183.3c0,4.3,3.5,7.9,7.9,7.9h75.1v21.2l153.1,0V94.7H198.8z M230.3,238.1H108.7V110.4h121.6L230.3,238.1z"/><path fill="#000000" d="M208.4,136.2h-77.8v15.8h31v60.3h15.8V152h30.9L208.4,136.2L208.4,136.2z"/></g></g>
|
3
|
+
</svg>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:bx="https://boxy-svg.com" height="24px" viewBox="0 0 399 512.02" width="24px" preserveAspectRatio="none">
|
2
|
+
<path d="M 96.59 35.73 L 131.49 35.73 C 133.94 15.58 150.2 0 169.92 0 C 189.52 0 205.69 15.37 208.31 35.31 L 243.78 35.73 C 246.15 35.73 248.04 37.62 248.04 39.99 L 248.04 87 C 248.04 89.36 246.15 91.26 243.78 91.26 L 96.63 91.26 C 94.32 91.26 92.37 89.36 92.37 87 L 92.37 39.99 C 92.33 37.62 94.23 35.73 96.59 35.73 Z M 307.82 166.69 L 308.7 166.69 C 311.82 166.69 314.6 168.13 316.4 170.39 L 396.42 258.25 C 398.067 260.062 398.979 262.422 398.98 264.87 L 399 267.53 L 399 490.81 C 399 496.62 396.59 501.94 392.75 505.78 C 388.91 509.62 383.6 512.02 377.79 512.02 L 156.47 512.02 C 150.7 512.02 145.39 509.63 141.53 505.78 L 141.49 505.74 C 137.65 501.87 135.26 496.6 135.26 490.81 L 135.26 187.7 C 135.26 181.87 137.64 176.56 141.48 172.72 C 145.32 168.88 150.63 166.49 156.47 166.49 L 305.84 166.49 C 306.52 166.49 307.18 166.56 307.82 166.69 Z M 379.28 277.49 C 335.54 275.79 313.86 274.22 301.6 261.36 C 289.33 248.48 290.09 228.8 291.57 191.1 L 291.76 186.22 L 156.47 186.22 C 156.06 186.22 155.69 186.39 155.42 186.66 C 155.15 186.92 154.98 187.3 154.98 187.7 L 154.98 490.81 C 154.98 491.22 155.14 491.59 155.39 491.84 L 155.43 491.88 C 155.69 492.14 156.06 492.3 156.47 492.3 L 377.79 492.3 C 378.16 492.3 378.53 492.12 378.81 491.84 C 379.09 491.56 379.28 491.19 379.28 490.81 L 379.28 277.49 Z M 311.03 196.58 C 309.9 225.74 309.62 241.26 315.85 247.8 C 322 254.25 337.18 255.97 366.5 257.3 L 311.03 196.58 Z M 100.37 400.1 C 107.3 400.1 112.92 405.72 112.92 412.65 C 112.92 419.57 107.3 425.2 100.37 425.2 L 39.33 425.2 C 28.61 425.2 18.75 420.75 11.58 413.59 C 4.45 406.51 0 396.69 0 385.86 L 0 91.56 C 0 80.73 4.42 70.9 11.54 63.78 L 12.38 63.01 C 19.43 56.35 28.93 52.24 39.33 52.24 L 71.79 52.24 L 71.79 77.35 L 39.33 77.35 C 35.65 77.35 32.28 78.75 29.76 81.04 L 29.29 81.53 C 26.71 84.11 25.1 87.67 25.1 91.56 L 25.1 385.86 C 25.1 389.73 26.73 393.28 29.31 395.87 L 29.31 395.92 C 31.89 398.5 35.45 400.1 39.33 400.1 L 100.37 400.1 Z M 268.61 52.24 L 301.05 52.24 C 311.84 52.24 321.65 56.69 328.77 63.8 C 335.94 70.96 340.39 80.82 340.39 91.56 L 340.39 121.47 C 340.39 128.4 334.77 134.02 327.84 134.02 C 320.91 134.02 315.29 128.4 315.29 121.47 L 315.29 91.56 C 315.29 87.68 313.69 84.12 311.12 81.55 C 308.54 78.97 304.97 77.35 301.05 77.35 L 268.61 77.35 L 268.61 52.24 Z M 169.48 18.28 C 180.63 18.28 189.66 27.31 189.66 38.46 C 189.66 49.61 180.63 58.65 169.48 58.65 C 158.33 58.65 149.29 49.61 149.29 38.46 C 149.29 27.31 158.33 18.28 169.48 18.28 Z" stroke="currentColor" stroke-width="10"/>
|
3
|
+
<text style="fill: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 96px; font-weight: 700; white-space: pre;" x="227.293" y="408.557" transform="matrix(1.739494, 0, 0, 1.63896, -205.964035, -233.651123)">W</text></svg>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 20 24" width="20px">
|
2
|
+
<path
|
3
|
+
d="m6.395 9.196 2.545-.007V6.498a.598.598 0 0 1 .598-.598h.299a.598.598 0 0 1 .598.598v6.877a.598.598 0 0 1-.598.598h-.299a.598.598 0 0 1-.598-.598v-2.691l-2.545.007v2.691a.598.598 0 0 1-.598.598h-.299a.598.598 0 0 1-.598-.598V6.505a.598.598 0 0 1 .598-.598h.299a.598.598 0 0 1 .598.598v2.691Z"
|
4
|
+
></path>
|
5
|
+
<path
|
6
|
+
d="M15.094 13.417V6.462a.562.562 0 0 0-.562-.562h-.782a1 1 0 0 0-.39.08l-1.017.43a.562.562 0 0 0-.343.517v.197c0 .4.406.67.775.519l.819-.337v6.111c0 .31.251.562.561.562h.377c.31 0 .562-.251.562-.562Z"
|
7
|
+
></path>
|
8
|
+
<path d="M0 15.417v1.5h1.5v-1.5H0Z"></path>
|
9
|
+
<path d="M18.5 15.417v1.5H20v-1.5h-1.5Z"></path>
|
10
|
+
<path d="M18.5 12.333v1.5H20v-1.5h-1.5Z"></path>
|
11
|
+
<path d="M18.5 9.25v1.5H20v-1.5h-1.5Z"></path>
|
12
|
+
<path d="M18.5 6.167v1.5H20v-1.5h-1.5Z"></path>
|
13
|
+
<path d="M0 18.5v.5a1 1 0 0 0 1 1h.5v-1.5H0Z"></path>
|
14
|
+
<path d="M3.083 18.5V20h1.5v-1.5h-1.5Z"></path>
|
15
|
+
<path d="M6.167 18.5V20h1.5v-1.5h-1.5Z"></path>
|
16
|
+
<path d="M9.25 18.5V20h1.5v-1.5h-1.5Z"></path>
|
17
|
+
<path d="M12.333 18.5V20h1.5v-1.5h-1.5Z"></path>
|
18
|
+
<path d="M15.417 18.5V20h1.5v-1.5h-1.5Z"></path>
|
19
|
+
<path d="M18.5 18.5V20h.5a1 1 0 0 0 1-1v-.5h-1.5Z"></path>
|
20
|
+
<path
|
21
|
+
clip-rule="evenodd"
|
22
|
+
d="M0 1a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v3.583h-1.5V1.5h-17v12.333H0V1Z"
|
23
|
+
></path>
|
24
|
+
</svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g fill="currentColor"><path d="M11.75 9h-7.5A.25.25 0 0 1 4 8.75v-1.5A.25.25 0 0 1 4.25 7h7.5a.25.25 0 0 1 .25.25v1.5a.25.25 0 0 1-.25.25zM3.5 3C2.625 4.202 2 5.797 2 8.018c0 2.185.649 3.755 1.5 4.982h-1C1.744 11.982 1 10.411 1 8.018 1.012 5.601 1.744 4.031 2.5 3h1zM13.5 3c.756 1.03 1.488 2.601 1.5 5.018 0 2.393-.744 3.964-1.5 4.982h-1c.851-1.227 1.5-2.797 1.5-4.982 0-2.22-.625-3.816-1.5-5.018h1z"/></g></svg>
|
@@ -1,44 +1 @@
|
|
1
|
-
|
2
|
-
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4
|
-
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
|
5
|
-
<g>
|
6
|
-
<g>
|
7
|
-
<path d="M0,22.261v467.478h512V22.261H0z M155.826,456.348H33.391v-77.913h122.435V456.348z M155.826,345.043H33.391V267.13
|
8
|
-
h122.435V345.043z M155.826,233.739H33.391v-77.913h122.435V233.739z M322.783,456.348H189.217v-77.913h133.565V456.348z
|
9
|
-
M322.783,345.043H189.217V267.13h133.565V345.043z M322.783,233.739H189.217v-77.913h133.565V233.739z M478.609,456.348H356.174
|
10
|
-
v-77.913h122.435V456.348z M478.609,345.043H356.174V267.13h122.435V345.043z M478.609,233.739H356.174v-77.913h122.435V233.739z
|
11
|
-
M478.609,122.435H33.391V55.652h445.217V122.435z"/>
|
12
|
-
</g>
|
13
|
-
</g>
|
14
|
-
<g>
|
15
|
-
</g>
|
16
|
-
<g>
|
17
|
-
</g>
|
18
|
-
<g>
|
19
|
-
</g>
|
20
|
-
<g>
|
21
|
-
</g>
|
22
|
-
<g>
|
23
|
-
</g>
|
24
|
-
<g>
|
25
|
-
</g>
|
26
|
-
<g>
|
27
|
-
</g>
|
28
|
-
<g>
|
29
|
-
</g>
|
30
|
-
<g>
|
31
|
-
</g>
|
32
|
-
<g>
|
33
|
-
</g>
|
34
|
-
<g>
|
35
|
-
</g>
|
36
|
-
<g>
|
37
|
-
</g>
|
38
|
-
<g>
|
39
|
-
</g>
|
40
|
-
<g>
|
41
|
-
</g>
|
42
|
-
<g>
|
43
|
-
</g>
|
44
|
-
</svg>
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M3 19a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v8.022a6.47 6.47 0 0 0-1.5-.709V2a.5.5 0 0 0-.5-.5H3a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h6.313c.173.534.412 1.037.709 1.5H3Z"/><path d="M9.174 14a6.489 6.489 0 0 0-.155 1H6v-1h3.174Z"/><path d="M10.022 12c-.202.316-.378.65-.524 1H4v-1h6.022Z"/><path d="M12.034 10c-.448.283-.86.62-1.224 1H6v-1h6.034Z"/><path d="M12 4v1H4V4h8Z"/><path d="M14 7V6H6v1h8Z"/><path d="M15 9V8H7v1h8Z"/><path clip-rule="evenodd" d="M20 15.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM15.5 13a.5.5 0 0 0-.5.5V15h-1.5a.5.5 0 0 0 0 1H15v1.5a.5.5 0 0 0 1 0V16h1.5a.5.5 0 0 0 0-1H16v-1.5a.5.5 0 0 0-.5-.5Z"/></svg>
|
@@ -17,6 +17,51 @@
|
|
17
17
|
p {
|
18
18
|
line-height: normal;
|
19
19
|
}
|
20
|
+
|
21
|
+
span.shy {
|
22
|
+
background: #afe0ef;
|
23
|
+
padding: 0 1px;
|
24
|
+
}
|
25
|
+
|
26
|
+
span.shy:after {
|
27
|
+
content: '-';
|
28
|
+
}
|
29
|
+
|
30
|
+
.show-block-outline {
|
31
|
+
outline: 1px dashed #757575;
|
32
|
+
padding: 4px;
|
33
|
+
margin: 10px 0px;
|
34
|
+
padding-top: 15px;
|
35
|
+
}
|
36
|
+
|
37
|
+
.block-label {
|
38
|
+
position: relative;
|
39
|
+
top: -20px;
|
40
|
+
font-size: 12px;
|
41
|
+
background-color: #d2cdcd;
|
42
|
+
color: black;
|
43
|
+
pointer-events: none;
|
44
|
+
font-weight: 400;
|
45
|
+
}
|
46
|
+
|
47
|
+
.show-block-button {
|
48
|
+
margin-right: 0px !important;
|
49
|
+
}
|
50
|
+
|
51
|
+
.show-block-button-active {
|
52
|
+
background-color: var(--ck-color-button-on-background);
|
53
|
+
// color: #2977ff;
|
54
|
+
margin-right: 0 !important;
|
55
|
+
}
|
56
|
+
|
57
|
+
.qms-verticalAlign {
|
58
|
+
width: 54px;
|
59
|
+
}
|
60
|
+
|
61
|
+
.qms-verticalAlign-selected {
|
62
|
+
width: 54px;
|
63
|
+
background: var(--ck-color-button-on-background);
|
64
|
+
}
|
20
65
|
}
|
21
66
|
|
22
67
|
.qms-ckeditor {
|
@@ -66,8 +111,9 @@
|
|
66
111
|
}
|
67
112
|
|
68
113
|
.ck-disabled {
|
114
|
+
|
69
115
|
.ck.ck-toolbar,
|
70
|
-
.ck.ck-editor__main
|
116
|
+
.ck.ck-editor__main>.ck-editor__editable {
|
71
117
|
background-color: theme-apply($disabled);
|
72
118
|
pointer-events: none;
|
73
119
|
}
|
@@ -77,7 +123,7 @@
|
|
77
123
|
}
|
78
124
|
}
|
79
125
|
|
80
|
-
.ck.ck-editor__main
|
126
|
+
.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused) {
|
81
127
|
&:focus {
|
82
128
|
border-radius: 4px;
|
83
129
|
}
|
@@ -113,7 +159,7 @@
|
|
113
159
|
background: white;
|
114
160
|
z-index: 99;
|
115
161
|
|
116
|
-
|
162
|
+
.qms-ckeditor {
|
117
163
|
height: 98%;
|
118
164
|
display: block;
|
119
165
|
width: 100%;
|
@@ -138,4 +184,4 @@
|
|
138
184
|
font-weight: 400;
|
139
185
|
line-height: 16px;
|
140
186
|
color: black(0.6);
|
141
|
-
}
|
187
|
+
}
|
@@ -1 +0,0 @@
|
|
1
|
-
!function(e){const i=e.af=e.af||{};i.dictionary=Object.assign(i.dictionary||{},{"Align center":"Belyn in die middel","Align left":"Belyn links","Align right":"Belyn regs","Block quote":"Blok-aanhaling",Bold:"Vetgedruk",Cancel:"Kanselleer","Cannot upload file:":"Lêer nie opgelaai nie:","Could not insert image at the current position.":"Beeld kan nie in die posisie toegevoeg word nie.","Could not obtain resized image URL.":"","Insert image or file":"Voeg beeld of lêer in","Inserting image failed":"",Italic:"Skuinsgedruk",Justify:"Belyn beide kante","Remove color":"","Remove Format":"Verwyder formatering",Save:"Berg","Selecting resized image failed":"",Strikethrough:"Deurgetrek",Subscript:"Onderskrif",Superscript:"Boskrif","Text alignment":"Teksbelyning","Text alignment toolbar":"",Underline:"Onderstreep"}),i.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
@@ -1 +0,0 @@
|
|
1
|
-
!function(e){const i=e.ar=e.ar||{};i.dictionary=Object.assign(i.dictionary||{},{"%0 of %1":"","Align center":"محاذاة في المنتصف","Align left":"محاذاة لليسار","Align right":"محاذاة لليمين",Aquamarine:"",Big:"كبير",Black:"","Block quote":"اقتباس",Blue:"",Bold:"عريض","Bulleted List":"قائمة نقطية",Cancel:"إلغاء","Cannot upload file:":"لا يمكن رفع الملف:","Centered image":"صورة بالوسط","Change image text alternative":"غير النص البديل للصورة",Default:"افتراضي","Dim grey":"","Document colors":"","Dropdown toolbar":"","Edit block":"","Editor toolbar":"","Enter image caption":"ادخل عنوان الصورة","Font Background Color":"","Font Color":"","Font Family":"نوع الخط","Font Size":"حجم الخط","Full size image":"صورة بحجم كامل",Green:"",Grey:"",Huge:"ضخم","Image resize list":"","Image toolbar":"","image widget":"عنصر الصورة","Insert image":"ادراج صورة",Italic:"مائل",Justify:"ضبط","Left aligned image":"صورة بمحاذاة لليسار","Light blue":"","Light green":"","Light grey":"",Next:"","Numbered List":"قائمة رقمية",Orange:"",Original:"",Previous:"",Purple:"",Red:"",Redo:"إعادة","Remove color":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Rich Text Editor":"معالج نصوص","Rich Text Editor, %0":"معالج نصوص، 0%","Right aligned image":"صورة بمحاذاة لليمين",Save:"حفظ","Show more items":"","Side image":"صورة جانبية",Small:"صغير",Strikethrough:"يتوسطه خط",Subscript:"",Superscript:"","Text alignment":"محاذاة النص","Text alignment toolbar":"","Text alternative":"النص البديل",Tiny:"ضئيل",Turquoise:"",Underline:"تحته خط",Undo:"تراجع","Upload failed":"فشل الرفع","Upload in progress":"جاري الرفع",White:"",Yellow:""}),i.getPluralForm=function(e){return 0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11&&e%100<=99?4:5}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
@@ -1 +0,0 @@
|
|
1
|
-
!function(e){const i=e.ast=e.ast||{};i.dictionary=Object.assign(i.dictionary||{},{"%0 of %1":"",Aquamarine:"",Black:"",Blue:"",Bold:"Negrina","Bulleted List":"Llista con viñetes",Cancel:"Encaboxar","Centered image":"","Change image text alternative":"","Dim grey":"","Dropdown toolbar":"","Edit block":"","Editor toolbar":"","Enter image caption":"","Full size image":"Imaxen a tamañu completu",Green:"",Grey:"","Image resize list":"","Image toolbar":"","image widget":"complementu d'imaxen","Insert image":"",Italic:"Cursiva","Left aligned image":"","Light blue":"","Light green":"","Light grey":"",Next:"","Numbered List":"Llista numberada",Orange:"",Original:"",Previous:"",Purple:"",Red:"",Redo:"Refacer","Remove color":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Rich Text Editor":"Editor de testu arriquecíu","Rich Text Editor, %0":"Editor de testu arriquecíu, %0","Right aligned image":"",Save:"Guardar","Show more items":"","Side image":"Imaxen llateral",Strikethrough:"",Subscript:"",Superscript:"","Text alternative":"",Turquoise:"",Underline:"",Undo:"Desfacer","Upload failed":"",White:"",Yellow:""}),i.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
@@ -1 +0,0 @@
|
|
1
|
-
!function(i){const e=i.az=i.az||{};e.dictionary=Object.assign(e.dictionary||{},{"%0 of %1":"%1-dən %0","Align center":"Mərkəzə düzləndir","Align left":"Soldan düzləndir","Align right":"Sağdan düzləndir",Aquamarine:"Akvamarin",Big:"Böyük",Black:"Qara","Block quote":"Sitat bloku",Blue:"Mavi",Bold:"Yarıqalın","Bulleted List":"Markerlənmiş siyahı",Cancel:"İmtina et","Cannot upload file:":"Fayl yüklənə bilmir","Centered image":"Mərkəzə düzləndir","Change image text alternative":"Alternativ mətni redaktə et","Characters: %0":"Simvolar: %0","Could not insert image at the current position.":"Şəkili əlavə etmək mümkün deyil","Could not obtain resized image URL.":"Ölçüsü dəyişmiş təsvirin URL-ni əldə etmək mümkün olmadı","Decrease indent":"Boş yeri kiçilt",Default:"Default","Dim grey":"Tünd boz","Document colors":"Rənglər","Dropdown toolbar":"Açılan paneli","Edit block":"Redaktə etmək bloku","Editor toolbar":"Redaktorun paneli","Enter image caption":"Şəkil başlığı daxil edin","Font Background Color":"Şrift Fonunun Rəngi","Font Color":"Şrift Rəngi","Font Family":"Şrift ailəsi","Font Size":"Şrift ölçüsü","Full size image":"Tam ölçülü şəkili",Green:"Yaşıl",Grey:"Boz","Horizontal line":"Üfüqi xətt",Huge:"Nəhəng","Image resize list":"","Image toolbar":"Şəkil paneli","image widget":"Şəkil vidgetı","Increase indent":"Boş yeri böyüt","Insert image":"Şəkili əlavə et","Insert image or file":"Şəkil və ya fayl əlavə ed","Insert paragraph after block":"","Insert paragraph before block":"","Inserting image failed":"Şəkili əlavə edilmədi",Italic:"Maili",Justify:"Eninə görə","Left aligned image":"Soldan düzləndir","Light blue":"Açıq mavi","Light green":"Açıq yaşıl","Light grey":"Açıq boz",Next:"Növbəti","Numbered List":"Nömrələnmiş siyahı",Orange:"Narıncı",Original:"","Page break":"Səhifə qırılması",Previous:"Əvvəlki",Purple:"Bənövşəyi",Red:"Qırmızı",Redo:"Təkrar et","Remove color":"Rəngi ləğv et","Remove Format":"Formatı Ləğv Et","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Rich Text Editor":"Rich Text Redaktoru","Rich Text Editor, %0":"Rich Text Redaktoru, %0","Right aligned image":"Sağdan düzləndir",Save:"Yadda saxla","Selecting resized image failed":"Ölçüsü dəyişmiş təsvirin seçilməsi uğursuz oldu","Show more items":"Daha çox əşyanı göstərin","Side image":"Yan şəkil",Small:"Kiçik",Strikethrough:"Qaralanmış",Subscript:"Alt yazı",Superscript:"Üst yazı","Text alignment":"Mətn düzləndirməsi","Text alignment toolbar":"Mətnin düzləndirmə paneli","Text alternative":"Alternativ mətn",Tiny:"Miniatür",Turquoise:"Firuzəyi",Underline:"Altdan xətt",Undo:"İmtina et","Upload failed":"Şəkili serverə yüklə","Upload in progress":"Yüklənir",White:"Ağ","Widget toolbar":"Vidgetin paneli","Words: %0":"Sözlər: %0",Yellow:"Sarı"}),e.getPluralForm=function(i){return 1!=i}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
@@ -1 +0,0 @@
|
|
1
|
-
!function(e){const i=e.bg=e.bg||{};i.dictionary=Object.assign(i.dictionary||{},{"Block quote":"Цитат",Bold:"Удебелен","Bulleted List":"Водещи символи",Cancel:"Отказ","Centered image":"","Change image text alternative":"","Could not insert image at the current position.":"На текущата позиция не може да се вмъкне изображение.","Could not obtain resized image URL.":"Не може да бъде придобит промененият уеб адрес на изображението.","Decrease indent":"Намали отстъпа","Enter image caption":"","Full size image":"","Image resize list":"","Image toolbar":"","image widget":"Компонент за изображение","Increase indent":"Увеличи отстъпа","Insert image":"Вмъкни изображение","Insert image or file":"Вмъкни изображение или файл","Inserting image failed":"Вмъкването на изображение не е успешно",Italic:"Курсив","Left aligned image":"","Numbered List":"Номериране",Original:"",Redo:"Повтори","Remove color":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Right aligned image":"",Save:"Запазване","Selecting resized image failed":"Избирането на промененото изображение не е успешно","Side image":"",Strikethrough:"",Subscript:"",Superscript:"","Text alternative":"",Underline:"",Undo:"Отмени","Upload failed":"","Upload in progress":"Качването е в процес"}),i.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
@@ -1 +0,0 @@
|
|
1
|
-
!function(t){const e=t.ca=t.ca||{};e.dictionary=Object.assign(e.dictionary||{},{"Align center":"Alineació centre","Align left":"Alineació esquerra","Align right":"Alineació dreta",Big:"Gran","Block quote":"Cita de bloc",Bold:"Negreta",Cancel:"Cancel·lar","Cannot upload file:":"No es pot pujar l'arxiu:",Default:"Predeterminada","Document colors":"","Font Background Color":"","Font Color":"","Font Family":"Font","Font Size":"Mida de la font",Huge:"Molt gran",Italic:"Cursiva",Justify:"Justificar","Remove color":"",Save:"Desar",Small:"Peita",Strikethrough:"Marcat",Subscript:"",Superscript:"","Text alignment":"Alineació text","Text alignment toolbar":"",Tiny:"Molt petita",Underline:"Subrallat"}),e.getPluralForm=function(t){return 1!=t}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
@@ -1 +0,0 @@
|
|
1
|
-
!function(e){const o=e.cs=e.cs||{};o.dictionary=Object.assign(o.dictionary||{},{"%0 of %1":"%0 z %1","Align center":"Zarovnat na střed","Align left":"Zarovnat vlevo","Align right":"Zarovnat vpravo",Aquamarine:"Akvamarínová",Big:"Velké",Black:"Černá","Block quote":"Citace",Blue:"Modrá",Bold:"Tučné","Bulleted List":"Odrážky",Cancel:"Zrušit","Cannot upload file:":"Soubor nelze nahrát:","Centered image":"Obrázek zarovnaný na střed","Change image text alternative":"Změnit alternativní text obrázku","Characters: %0":"Počet znaků: %0","Could not insert image at the current position.":"Na současnou pozici nelze vložit obrázek.","Could not obtain resized image URL.":"Nelze získat URL obrázku se změněnou velikostí.","Decrease indent":"Zmenšit odsazení",Default:"Výchozí","Dim grey":"Tmavě šedá","Document colors":"Barvy dokumentu","Dropdown toolbar":"Rozbalovací panel nástrojů","Edit block":"Upravit blok","Editor toolbar":"Panel nástrojů editoru","Enter image caption":"Zadejte popis obrázku","Font Background Color":"Barva pozadí písma","Font Color":"Barva písma","Font Family":"Typ písma","Font Size":"Velikost písma","Full size image":"Obrázek v plné velikosti",Green:"Zelená",Grey:"Šedá","Horizontal line":"Vodorovná čára",Huge:"Obrovské","Image resize list":"Seznam možností změny velikosti","Image toolbar":"Panel nástrojů obrázku","image widget":"ovládací prvek obrázku","Increase indent":"Zvětšit odsazení","Insert image":"Vložit obrázek","Insert image or file":"Vložit obrázek nebo soubor","Insert paragraph after block":"Vložte odstavec za blok","Insert paragraph before block":"Vložte odstavec před blok","Inserting image failed":"Vložení obrázku selhalo",Italic:"Kurzíva",Justify:"Zarovnat do bloku","Left aligned image":"Obrázek zarovnaný vlevo","Light blue":"Světle modrá","Light green":"Světle zelená","Light grey":"Světle šedá",Next:"Další","Numbered List":"Číslování",Orange:"Oranžová",Original:"Originální","Page break":"Konec stránky",Previous:"Předchozí",Purple:"Fialová",Red:"Červená",Redo:"Znovu","Remove color":"Odstranit barvu","Remove Format":"Odstranit formátování","Resize image":"Změnit velikost","Resize image to %0":"Změnit velikost na %0","Resize image to the original size":"Změnit velikost na původní velikost","Rich Text Editor":"Textový editor","Rich Text Editor, %0":"Textový editor, %0","Right aligned image":"Obrázek zarovnaný vpravo",Save:"Uložit","Select all":"Vybrat vše","Selecting resized image failed":"Výběr obrázku se změněnou velikostí selhal","Show more items":"Zobrazit další položky","Side image":"Postranní obrázek",Small:"Malé",Strikethrough:"Přeškrtnuté",Subscript:"Dolní index",Superscript:"Horní index","Text alignment":"Zarovnání textu","Text alignment toolbar":"Panel nástrojů zarovnání textu","Text alternative":"Alternativní text",Tiny:"Drobné",Turquoise:"Tyrkysová",Underline:"Podtržené",Undo:"Zpět","Upload failed":"Nahrání selhalo","Upload in progress":"Probíhá nahrávání",White:"Bílá","Widget toolbar":"Panel nástrojů ovládacího prvku","Words: %0":"Počet slov: %0",Yellow:"Žlutá"}),o.getPluralForm=function(e){return 1==e&&e%1==0?0:e>=2&&e<=4&&e%1==0?1:e%1!=0?2:3}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
@@ -1 +0,0 @@
|
|
1
|
-
!function(e){const i=e.da=e.da||{};i.dictionary=Object.assign(i.dictionary||{},{"%0 of %1":"%0 af %1","Align center":"Justér center","Align left":"Justér venstre","Align right":"Justér højre",Aquamarine:"Marineblå",Big:"Stor",Black:"Sort","Block quote":"Blot citat",Blue:"Blå",Bold:"Fed","Bulleted List":"Punktopstilling",Cancel:"Annullér","Cannot upload file:":"Kan ikke uploade fil:","Centered image":"Centreret billede","Change image text alternative":"Skift alternativ billedtekst","Characters: %0":"Karakterer: %0","Could not insert image at the current position.":"Kunne ikke indsætte billede på aktuel position.","Could not obtain resized image URL.":"Kunne ikke hente URL på ændret billede.","Decrease indent":"Formindsk indrykning",Default:"Standard","Dim grey":"Dunkel grå","Document colors":"Dokumentfarve","Dropdown toolbar":"Dropdown værktøjslinje","Edit block":"Redigér blok","Editor toolbar":"Editor værktøjslinje","Enter image caption":"Indtast billedoverskrift","Font Background Color":"Skrift baggrundsfarve","Font Color":"Skriftfarve","Font Family":"Skriftfamilie","Font Size":"Skriftstørrelse","Full size image":"Fuld billedstørrelse",Green:"Grøn",Grey:"Grå","Horizontal line":"Horisontal linje",Huge:"Kæmpe","Image resize list":"","Image toolbar":"Billedværktøjslinje","image widget":"billed widget","Increase indent":"Forøg indrykning","Insert image":"Indsæt billede","Insert image or file":"Indsæt billede eller fil","Insert paragraph after block":"","Insert paragraph before block":"","Inserting image failed":"Indsætning af billede fejlede",Italic:"Kursiv",Justify:"Justér","Left aligned image":"Venstrestillet billede","Light blue":"Lys blå","Light green":"Lys grøn","Light grey":"Lys grå",Next:"Næste","Numbered List":"Opstilling med tal",Orange:"Orange",Original:"","Page break":"Sideskift",Previous:"Forrige",Purple:"Lilla",Red:"Rød",Redo:"Gentag","Remove color":"Fjern farve","Remove Format":"Fjern format","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Rich Text Editor":"Wysiwyg editor","Rich Text Editor, %0":"Wysiwyg editor, %0","Right aligned image":"Højrestillet billede",Save:"Gem","Selecting resized image failed":"Valg af ændret billede fejlede","Show more items":"Vis flere emner","Side image":"Sidebillede",Small:"Lille",Strikethrough:"Gennemstreg",Subscript:"Sænket skrift",Superscript:"Hævet skrift","Text alignment":"Tekstjustering","Text alignment toolbar":"Tekstjustering værktøjslinje","Text alternative":"Alternativ tekst",Tiny:"Lillebitte",Turquoise:"Turkis",Underline:"Understreget",Undo:"Fortryd","Upload failed":"Upload fejlede","Upload in progress":"Upload i gang",White:"Hvid","Widget toolbar":"Widget værktøjslinje","Words: %0":"Ord: %0",Yellow:"Gyl"}),i.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|