@ckeditor/ckeditor5-format-painter 0.0.1 → 38.0.0-rc.0
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/CHANGELOG.md +4 -0
- package/README.md +34 -3
- package/build/format-painter.js +5 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/ckeditor5-metadata.json +18 -0
- package/lang/contexts.json +5 -0
- package/lang/translations/ar.po +29 -0
- package/lang/translations/bg.po +29 -0
- package/lang/translations/bn.po +29 -0
- package/lang/translations/ca.po +29 -0
- package/lang/translations/cs.po +29 -0
- package/lang/translations/da.po +29 -0
- package/lang/translations/de.po +29 -0
- package/lang/translations/el.po +29 -0
- package/lang/translations/en-au.po +29 -0
- package/lang/translations/en.po +29 -0
- package/lang/translations/es.po +29 -0
- package/lang/translations/et.po +29 -0
- package/lang/translations/fi.po +29 -0
- package/lang/translations/fr.po +29 -0
- package/lang/translations/he.po +29 -0
- package/lang/translations/hi.po +29 -0
- package/lang/translations/hr.po +29 -0
- package/lang/translations/hu.po +29 -0
- package/lang/translations/id.po +29 -0
- package/lang/translations/it.po +29 -0
- package/lang/translations/ja.po +29 -0
- package/lang/translations/ko.po +29 -0
- package/lang/translations/lt.po +29 -0
- package/lang/translations/lv.po +29 -0
- package/lang/translations/ms.po +29 -0
- package/lang/translations/nl.po +29 -0
- package/lang/translations/no.po +29 -0
- package/lang/translations/pl.po +29 -0
- package/lang/translations/pt-br.po +29 -0
- package/lang/translations/pt.po +29 -0
- package/lang/translations/ro.po +29 -0
- package/lang/translations/ru.po +29 -0
- package/lang/translations/sk.po +29 -0
- package/lang/translations/sr.po +29 -0
- package/lang/translations/sv.po +29 -0
- package/lang/translations/th.po +29 -0
- package/lang/translations/tr.po +29 -0
- package/lang/translations/uk.po +29 -0
- package/lang/translations/vi.po +29 -0
- package/lang/translations/zh-cn.po +29 -0
- package/lang/translations/zh.po +29 -0
- package/package.json +24 -4
- package/src/augmentation.d.ts +16 -0
- package/src/augmentation.js +23 -0
- package/src/copyformatcommand.d.ts +37 -0
- package/src/copyformatcommand.js +23 -0
- package/src/formatpainter.d.ts +28 -0
- package/src/formatpainter.js +23 -0
- package/src/formatpainterediting.d.ts +32 -0
- package/src/formatpainterediting.js +23 -0
- package/src/formatpainterui.d.ts +32 -0
- package/src/formatpainterui.js +23 -0
- package/src/index.d.ts +14 -0
- package/src/index.js +23 -0
- package/src/pasteformatcommand.d.ts +23 -0
- package/src/pasteformatcommand.js +23 -0
- package/src/utils.d.ts +25 -0
- package/src/utils.js +23 -0
- package/theme/formatpainter.css +24 -0
- package/theme/icons/paint-roller-cursor-default.svg +17 -0
- package/theme/icons/paint-roller-cursor-text.svg +7 -0
- package/theme/icons/paint-roller.svg +1 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/ckeditor/teams/11143/pt_BR/)\n"
|
|
16
|
+
"Language: pt_BR\n"
|
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for the format painter feature."
|
|
20
|
+
msgid "Paint formatting"
|
|
21
|
+
msgstr "Pintar formatação"
|
|
22
|
+
|
|
23
|
+
msgctxt "The label for the continuous painting checkbox in the format painter dropdown."
|
|
24
|
+
msgid "Continuous painting"
|
|
25
|
+
msgstr "Pintura contínua"
|
|
26
|
+
|
|
27
|
+
msgctxt "The tooltip displayed for the continuous painting button explaining what it does."
|
|
28
|
+
msgid "Keeps the painter on after setting the formatting."
|
|
29
|
+
msgstr "Mantém a função de pintura ativa após aplicar a formatação."
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Portuguese (https://app.transifex.com/ckeditor/teams/11143/pt/)\n"
|
|
16
|
+
"Language: pt\n"
|
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for the format painter feature."
|
|
20
|
+
msgid "Paint formatting"
|
|
21
|
+
msgstr "Pincel de formatação"
|
|
22
|
+
|
|
23
|
+
msgctxt "The label for the continuous painting checkbox in the format painter dropdown."
|
|
24
|
+
msgid "Continuous painting"
|
|
25
|
+
msgstr "Pintura contínua"
|
|
26
|
+
|
|
27
|
+
msgctxt "The tooltip displayed for the continuous painting button explaining what it does."
|
|
28
|
+
msgid "Keeps the painter on after setting the formatting."
|
|
29
|
+
msgstr "Mantém o pincel ativo depois de aplicar a formatação."
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Romanian (https://app.transifex.com/ckeditor/teams/11143/ro/)\n"
|
|
16
|
+
"Language: ro\n"
|
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for the format painter feature."
|
|
20
|
+
msgid "Paint formatting"
|
|
21
|
+
msgstr "Formatare Desen"
|
|
22
|
+
|
|
23
|
+
msgctxt "The label for the continuous painting checkbox in the format painter dropdown."
|
|
24
|
+
msgid "Continuous painting"
|
|
25
|
+
msgstr "Desen continuu"
|
|
26
|
+
|
|
27
|
+
msgctxt "The tooltip displayed for the continuous painting button explaining what it does."
|
|
28
|
+
msgid "Keeps the painter on after setting the formatting."
|
|
29
|
+
msgstr "Menține activă funcția de desenare după alegerea formatării."
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Russian (https://app.transifex.com/ckeditor/teams/11143/ru/)\n"
|
|
16
|
+
"Language: ru\n"
|
|
17
|
+
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for the format painter feature."
|
|
20
|
+
msgid "Paint formatting"
|
|
21
|
+
msgstr "Форматирование рисунков"
|
|
22
|
+
|
|
23
|
+
msgctxt "The label for the continuous painting checkbox in the format painter dropdown."
|
|
24
|
+
msgid "Continuous painting"
|
|
25
|
+
msgstr "Непрерывное рисование"
|
|
26
|
+
|
|
27
|
+
msgctxt "The tooltip displayed for the continuous painting button explaining what it does."
|
|
28
|
+
msgid "Keeps the painter on after setting the formatting."
|
|
29
|
+
msgstr "Оставляет рисование включенным после настройки форматирования."
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Slovak (https://app.transifex.com/ckeditor/teams/11143/sk/)\n"
|
|
16
|
+
"Language: sk\n"
|
|
17
|
+
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for the format painter feature."
|
|
20
|
+
msgid "Paint formatting"
|
|
21
|
+
msgstr "Formátovanie maľovania"
|
|
22
|
+
|
|
23
|
+
msgctxt "The label for the continuous painting checkbox in the format painter dropdown."
|
|
24
|
+
msgid "Continuous painting"
|
|
25
|
+
msgstr "Nepretržité maľovanie"
|
|
26
|
+
|
|
27
|
+
msgctxt "The tooltip displayed for the continuous painting button explaining what it does."
|
|
28
|
+
msgid "Keeps the painter on after setting the formatting."
|
|
29
|
+
msgstr "Po nastavení formátovania ponechá maľovanie zapnuté."
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n"
|
|
16
|
+
"Language: sr\n"
|
|
17
|
+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for the format painter feature."
|
|
20
|
+
msgid "Paint formatting"
|
|
21
|
+
msgstr "Formatiranje boje"
|
|
22
|
+
|
|
23
|
+
msgctxt "The label for the continuous painting checkbox in the format painter dropdown."
|
|
24
|
+
msgid "Continuous painting"
|
|
25
|
+
msgstr "Kontinuirano slikanje"
|
|
26
|
+
|
|
27
|
+
msgctxt "The tooltip displayed for the continuous painting button explaining what it does."
|
|
28
|
+
msgid "Keeps the painter on after setting the formatting."
|
|
29
|
+
msgstr "Ostavlja četkicu uključenom nakon podešavanja formatiranja."
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n"
|
|
16
|
+
"Language: sv\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for the format painter feature."
|
|
20
|
+
msgid "Paint formatting"
|
|
21
|
+
msgstr "Formatering av färgläggning"
|
|
22
|
+
|
|
23
|
+
msgctxt "The label for the continuous painting checkbox in the format painter dropdown."
|
|
24
|
+
msgid "Continuous painting"
|
|
25
|
+
msgstr "Fortlöpande målning"
|
|
26
|
+
|
|
27
|
+
msgctxt "The tooltip displayed for the continuous painting button explaining what it does."
|
|
28
|
+
msgid "Keeps the painter on after setting the formatting."
|
|
29
|
+
msgstr "Behåller målaren på efter att formateringen har satts."
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n"
|
|
16
|
+
"Language: th\n"
|
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for the format painter feature."
|
|
20
|
+
msgid "Paint formatting"
|
|
21
|
+
msgstr "ระบายการจัดรูป"
|
|
22
|
+
|
|
23
|
+
msgctxt "The label for the continuous painting checkbox in the format painter dropdown."
|
|
24
|
+
msgid "Continuous painting"
|
|
25
|
+
msgstr "การระบายอย่างต่อเนื่อง"
|
|
26
|
+
|
|
27
|
+
msgctxt "The tooltip displayed for the continuous painting button explaining what it does."
|
|
28
|
+
msgid "Keeps the painter on after setting the formatting."
|
|
29
|
+
msgstr "เก็บเครื่องมือระบายไว้หลังจากตั้งค่าการจัดรูปแบบแล้ว"
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n"
|
|
16
|
+
"Language: tr\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for the format painter feature."
|
|
20
|
+
msgid "Paint formatting"
|
|
21
|
+
msgstr "Boya biçimlendirme"
|
|
22
|
+
|
|
23
|
+
msgctxt "The label for the continuous painting checkbox in the format painter dropdown."
|
|
24
|
+
msgid "Continuous painting"
|
|
25
|
+
msgstr "Sürekli boyama"
|
|
26
|
+
|
|
27
|
+
msgctxt "The tooltip displayed for the continuous painting button explaining what it does."
|
|
28
|
+
msgid "Keeps the painter on after setting the formatting."
|
|
29
|
+
msgstr "Biçimlendirmeyi ayarladıktan sonra boyacıyı açık tutar."
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n"
|
|
16
|
+
"Language: uk\n"
|
|
17
|
+
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for the format painter feature."
|
|
20
|
+
msgid "Paint formatting"
|
|
21
|
+
msgstr "Художнє форматування"
|
|
22
|
+
|
|
23
|
+
msgctxt "The label for the continuous painting checkbox in the format painter dropdown."
|
|
24
|
+
msgid "Continuous painting"
|
|
25
|
+
msgstr "Постійне малювання"
|
|
26
|
+
|
|
27
|
+
msgctxt "The tooltip displayed for the continuous painting button explaining what it does."
|
|
28
|
+
msgid "Keeps the painter on after setting the formatting."
|
|
29
|
+
msgstr "Тримає малювання ввімкненим після налаштування форматування."
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n"
|
|
16
|
+
"Language: vi\n"
|
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for the format painter feature."
|
|
20
|
+
msgid "Paint formatting"
|
|
21
|
+
msgstr "Sao chép định dạng"
|
|
22
|
+
|
|
23
|
+
msgctxt "The label for the continuous painting checkbox in the format painter dropdown."
|
|
24
|
+
msgid "Continuous painting"
|
|
25
|
+
msgstr "Tô màu liên tục"
|
|
26
|
+
|
|
27
|
+
msgctxt "The tooltip displayed for the continuous painting button explaining what it does."
|
|
28
|
+
msgid "Keeps the painter on after setting the formatting."
|
|
29
|
+
msgstr "Giữ trình tô màu được bật sau khi đặt định dạng."
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
|
|
16
|
+
"Language: zh_CN\n"
|
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for the format painter feature."
|
|
20
|
+
msgid "Paint formatting"
|
|
21
|
+
msgstr "绘画格式化"
|
|
22
|
+
|
|
23
|
+
msgctxt "The label for the continuous painting checkbox in the format painter dropdown."
|
|
24
|
+
msgid "Continuous painting"
|
|
25
|
+
msgstr "连续绘画"
|
|
26
|
+
|
|
27
|
+
msgctxt "The tooltip displayed for the continuous painting button explaining what it does."
|
|
28
|
+
msgid "Keeps the painter on after setting the formatting."
|
|
29
|
+
msgstr "设置格式化后,保持画师的状态。"
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
|
|
16
|
+
"Language: zh_TW\n"
|
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "A toolbar button tooltip for the format painter feature."
|
|
20
|
+
msgid "Paint formatting"
|
|
21
|
+
msgstr "油漆格式"
|
|
22
|
+
|
|
23
|
+
msgctxt "The label for the continuous painting checkbox in the format painter dropdown."
|
|
24
|
+
msgid "Continuous painting"
|
|
25
|
+
msgstr "連續繪製"
|
|
26
|
+
|
|
27
|
+
msgctxt "The tooltip displayed for the continuous painting button explaining what it does."
|
|
28
|
+
msgid "Keeps the painter on after setting the formatting."
|
|
29
|
+
msgstr "設定格式後,保持繪圖工具開啟。"
|
package/package.json
CHANGED
|
@@ -1,15 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-format-painter",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "38.0.0-rc.0",
|
|
4
4
|
"description": "Format painter feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
7
7
|
"ckeditor5",
|
|
8
8
|
"ckeditor 5",
|
|
9
|
-
"ckeditor5-
|
|
9
|
+
"ckeditor5-feature",
|
|
10
|
+
"ckeditor5-plugin"
|
|
10
11
|
],
|
|
12
|
+
"main": "src/index.js",
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"ckeditor5": "^38.0.0-rc.0"
|
|
15
|
+
},
|
|
16
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
11
17
|
"author": "CKSource (http://cksource.com/)",
|
|
12
|
-
"license": "GPL-2.0-or-later",
|
|
13
18
|
"homepage": "https://ckeditor.com/ckeditor-5",
|
|
14
|
-
"
|
|
19
|
+
"files": [
|
|
20
|
+
"lang",
|
|
21
|
+
"src/**/*.js",
|
|
22
|
+
"src/**/*.d.ts",
|
|
23
|
+
"theme",
|
|
24
|
+
"build",
|
|
25
|
+
"ckeditor5-metadata.json",
|
|
26
|
+
"CHANGELOG.md"
|
|
27
|
+
],
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "tsc -p ./tsconfig.json",
|
|
30
|
+
"postversion": "npm run build",
|
|
31
|
+
"dll:build": "webpack"
|
|
32
|
+
},
|
|
33
|
+
"types": "src/index.d.ts",
|
|
34
|
+
"obfuscated": true
|
|
15
35
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
import type { FormatPainter, FormatPainterEditing, FormatPainterUI, PasteFormatCommand, CopyFormatCommand, COPY_FORMAT_COMMAND_NAME, PASTE_FORMAT_COMMAND_NAME } from './index';
|
|
6
|
+
declare module '@ckeditor/ckeditor5-core' {
|
|
7
|
+
interface PluginsMap {
|
|
8
|
+
[FormatPainter.pluginName]: FormatPainter;
|
|
9
|
+
[FormatPainterEditing.pluginName]: FormatPainterEditing;
|
|
10
|
+
[FormatPainterUI.pluginName]: FormatPainterUI;
|
|
11
|
+
}
|
|
12
|
+
interface CommandsMap {
|
|
13
|
+
[COPY_FORMAT_COMMAND_NAME]: CopyFormatCommand;
|
|
14
|
+
[PASTE_FORMAT_COMMAND_NAME]: PasteFormatCommand;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export{};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module format-painter/copyformatcommand
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core';
|
|
10
|
+
import type { FormattingAttributesValues } from './formatpainterediting';
|
|
11
|
+
/**
|
|
12
|
+
* This command copies the formatting from the current {@link module:engine/model/selection~Selection model selection}
|
|
13
|
+
* and stores it in its {@link module:format-painter/copyformatcommand~CopyFormatCommand#value} property.
|
|
14
|
+
*
|
|
15
|
+
* The formatting can then be pasted using the {@link module:format-painter/pasteformatcommand~PasteFormatCommand}.
|
|
16
|
+
*
|
|
17
|
+
* @extends module:core/command~Command
|
|
18
|
+
*/
|
|
19
|
+
export default class CopyFormatCommand extends Command {
|
|
20
|
+
value: FormattingAttributesValues | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Creates a new `CopyFormatCommand` instance.
|
|
23
|
+
*
|
|
24
|
+
* @param {module:core/editor/editor~Editor} editor The editor on which this command will be used.
|
|
25
|
+
*/
|
|
26
|
+
constructor(editor: Editor);
|
|
27
|
+
/**
|
|
28
|
+
* Executes the command. The formatting is then stored in the {@link #value} property.
|
|
29
|
+
*
|
|
30
|
+
* @fires execute
|
|
31
|
+
*/
|
|
32
|
+
execute(): void;
|
|
33
|
+
/**
|
|
34
|
+
* Resets the stored formatting.
|
|
35
|
+
*/
|
|
36
|
+
reset(): void;
|
|
37
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x371f=['reset','execute','selection','model','refresh','getAttributeProperties','filter','document','fromEntries','_getFormattingAttributes','editor','value','get','from','change:isEnabled','commands'];(function(_0x3c1d21,_0x371fc6){const _0x3dbb3c=function(_0x4a221c){while(--_0x4a221c){_0x3c1d21['push'](_0x3c1d21['shift']());}};_0x3dbb3c(++_0x371fc6);}(_0x371f,0x73));const _0x3dbb=function(_0x3c1d21,_0x371fc6){_0x3c1d21=_0x3c1d21-0x0;let _0x3dbb3c=_0x371f[_0x3c1d21];return _0x3dbb3c;};import{Command as _0x58cafa}from'ckeditor5/src/core';import{PASTE_FORMAT_COMMAND_NAME as _0x372b8c}from'./utils';export default class r extends _0x58cafa{constructor(_0x2f6061){super(_0x2f6061),this['value']=void 0x0,this['on'](_0x3dbb('0xb'),(_0x305ce1,_0x34c9d6,_0x2fe2d6)=>{_0x2fe2d6||this[_0x3dbb('0xd')]();}),this['on']('change:value',()=>_0x2f6061[_0x3dbb('0xc')][_0x3dbb('0x9')](_0x372b8c)[_0x3dbb('0x1')]());}[_0x3dbb('0xe')](){this[_0x3dbb('0x8')]=this[_0x3dbb('0x6')]();}[_0x3dbb('0xd')](){this[_0x3dbb('0x8')]=void 0x0;}['_getFormattingAttributes'](){const _0xb1fdd4=this[_0x3dbb('0x7')][_0x3dbb('0x0')],_0x504633=_0xb1fdd4[_0x3dbb('0x4')][_0x3dbb('0xf')];return Object[_0x3dbb('0x5')](Array[_0x3dbb('0xa')](_0x504633['getAttributes']())[_0x3dbb('0x3')](([_0x115b4b])=>_0xb1fdd4['schema'][_0x3dbb('0x2')](_0x115b4b)['isFormatting']));}}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module format-painter/formatpainter
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
10
|
+
import FormatPainterEditing from './formatpainterediting';
|
|
11
|
+
import FormatPainterUI from './formatpainterui';
|
|
12
|
+
/**
|
|
13
|
+
* The format painter feature.
|
|
14
|
+
*
|
|
15
|
+
* For a detailed overview, check the {@glink features/format-painter Format painter} feature documentation.
|
|
16
|
+
*
|
|
17
|
+
* @extends module:core/plugin~Plugin
|
|
18
|
+
*/
|
|
19
|
+
export default class FormatPainter extends Plugin {
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
static get requires(): (typeof FormatPainterEditing | typeof FormatPainterUI)[];
|
|
24
|
+
/**
|
|
25
|
+
* @inheritDoc
|
|
26
|
+
*/
|
|
27
|
+
static get pluginName(): 'FormatPainter';
|
|
28
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
var _0x22d8=['requires','pluginName','FormatPainter'];(function(_0x165209,_0x22d872){var _0x579dc6=function(_0x2cdf9d){while(--_0x2cdf9d){_0x165209['push'](_0x165209['shift']());}};_0x579dc6(++_0x22d872);}(_0x22d8,0xc1));var _0x579d=function(_0x165209,_0x22d872){_0x165209=_0x165209-0x0;var _0x579dc6=_0x22d8[_0x165209];return _0x579dc6;};import{Plugin as _0x473899}from'ckeditor5/src/core';import _0xba42d9 from'./formatpainterediting';import _0x5aead3 from'./formatpainterui';export default class m extends _0x473899{static get[_0x579d('0x2')](){return[_0xba42d9,_0x5aead3];}static get[_0x579d('0x0')](){return _0x579d('0x1');}}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module format-painter/formatpainterediting
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core';
|
|
9
|
+
/**
|
|
10
|
+
* The format painter editing feature. It introduces two commands: `copyFormat` and `pasteFormat`.
|
|
11
|
+
*/
|
|
12
|
+
export default class FormatPainterEditing extends Plugin {
|
|
13
|
+
licenseKey: string;
|
|
14
|
+
/**
|
|
15
|
+
* @inheritDoc
|
|
16
|
+
*/
|
|
17
|
+
static get pluginName(): 'FormatPainterEditing';
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
constructor(editor: Editor);
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
init(): void;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* An object with key-value pairs describing formatting model attributes and their values.
|
|
29
|
+
*/
|
|
30
|
+
export type FormattingAttributesValues = {
|
|
31
|
+
[k: string]: unknown;
|
|
32
|
+
};
|