-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy patheditor.editor.full_html.yml
More file actions
160 lines (160 loc) · 3.62 KB
/
editor.editor.full_html.yml
File metadata and controls
160 lines (160 loc) · 3.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
uuid: 660aeaa4-4c5e-4172-b5dc-337f59e13ffb
langcode: en
status: true
dependencies:
config:
- filter.format.full_html
module:
- ckeditor5
_core:
default_config_hash: UZ7ojJKs8sEbFs15e0Ub1i_p9w-K20fG40pkpotEWUw
format: full_html
editor: ckeditor5
settings:
toolbar:
items:
- bold
- italic
- strikethrough
- superscript
- subscript
- removeFormat
- heading
- '|'
- bulletedList
- numberedList
- '|'
- link
- helfiQuote
- insertTable
- helfiLanguageSelector
- specialCharacters
- '|'
- undo
- redo
- '|'
- sourceEditing
plugins:
ckeditor5_heading:
enabled_headings:
- heading2
- heading3
- heading4
- heading5
- heading6
ckeditor5_list:
properties:
reversed: false
startIndex: true
multiBlock: true
ckeditor5_paste_filter_pasteFilter:
enabled: true
filters:
-
enabled: true
weight: 0
search: '<o:p><\/o:p>'
replace: ''
-
enabled: true
weight: 1
search: '(<[^>]*) (style="[^"]*")'
replace: $1
-
enabled: true
weight: 2
search: '(<[^>]*) (face="[^"]*")'
replace: $1
-
enabled: true
weight: 3
search: '(<[^>]*) (class="[^"]*")'
replace: $1
-
enabled: true
weight: 4
search: '(<[^>]*) (valign="[^"]*")'
replace: $1
-
enabled: true
weight: 5
search: '<font[^>]*>'
replace: ''
-
enabled: true
weight: 6
search: '<\/font>'
replace: ''
-
enabled: true
weight: 7
search: '<span(?![^>]*\b(?:dir|lang)="[^"]*")[^>]*>(.*?)<\/span>'
replace: $1
-
enabled: true
weight: 8
search: '<p><span lang="[^"]*"><\/span><\/p>'
replace: ''
-
enabled: true
weight: 9
search: '<span lang="[^"]*"><\/span>'
replace: ''
-
enabled: true
weight: 10
search: '(<span\b[^>]*?)\s*dir="[^"]*"'
replace: $1
-
enabled: true
weight: 11
search: 'lang="([a-z]{2})-[a-z]{2}"'
replace: 'lang="$1"'
-
enabled: true
weight: 12
search: '<span>(.*?)<\/span>'
replace: $1
-
enabled: true
weight: 13
search: '<p> <\/p>'
replace: ''
-
enabled: true
weight: 14
search: '<p><\/p>'
replace: ''
-
enabled: true
weight: 15
search: '<b><\/b>'
replace: ''
-
enabled: true
weight: 16
search: '<i><\/i>'
replace: ''
-
enabled: true
weight: 17
search: '<a name="OLE_LINK[^"]*">(.*?)<\/a>'
replace: $1
-
enabled: true
weight: 18
search: '<a name="[^"]*">(.*?)<\/a>'
replace: $1
ckeditor5_sourceEditing:
allowed_tags:
- '<figure tabindex>'
- '<figcaption>'
- '<p data-chat-trigger>'
helfi_ckeditor_helfi_link:
helfi_link_attributes:
- '<a data-hds-icon-start data-is-external data-protocol data-hds-component data-hds-variant rel target="_blank">'
linkit_extension:
linkit_enabled: true
linkit_profile: helfi
image_upload:
status: false