@ckeditor/ckeditor5-format-painter 0.0.0-nightly-20230629.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/LICENSE.md +18 -0
- package/README.md +35 -0
- 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 +35 -0
- 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 +36 -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
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ckeditor/ckeditor5-format-painter",
|
|
3
|
+
"version": "0.0.0-nightly-20230629.0",
|
|
4
|
+
"description": "Format painter feature for CKEditor 5.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"ckeditor",
|
|
7
|
+
"ckeditor5",
|
|
8
|
+
"ckeditor 5",
|
|
9
|
+
"ckeditor5-feature",
|
|
10
|
+
"ckeditor5-plugin"
|
|
11
|
+
],
|
|
12
|
+
"main": "src/index.js",
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"ckeditor5": "0.0.0-nightly-20230629.0"
|
|
15
|
+
},
|
|
16
|
+
"engines": {
|
|
17
|
+
"node": ">=16.0.0",
|
|
18
|
+
"npm": ">=5.7.1"
|
|
19
|
+
},
|
|
20
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
21
|
+
"author": "CKSource (http://cksource.com/)",
|
|
22
|
+
"homepage": "https://ckeditor.com/ckeditor-5",
|
|
23
|
+
"bugs": "https://support.ckeditor.com/hc/en-us/requests/new",
|
|
24
|
+
"files": [
|
|
25
|
+
"lang",
|
|
26
|
+
"src/**/*.js",
|
|
27
|
+
"src/**/*.d.ts",
|
|
28
|
+
"theme",
|
|
29
|
+
"build",
|
|
30
|
+
"ckeditor5-metadata.json",
|
|
31
|
+
"CHANGELOG.md"
|
|
32
|
+
],
|
|
33
|
+
"types": "src/index.d.ts",
|
|
34
|
+
"obfuscated": true
|
|
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 _0x3278=['schema','getAttributeProperties','refresh','value','change:isEnabled','model','document','fromEntries','editor','execute','_getFormattingAttributes','filter','reset','from'];(function(_0x37c4a2,_0x32787b){const _0x474faf=function(_0x2257c9){while(--_0x2257c9){_0x37c4a2['push'](_0x37c4a2['shift']());}};_0x474faf(++_0x32787b);}(_0x3278,0x14e));const _0x474f=function(_0x37c4a2,_0x32787b){_0x37c4a2=_0x37c4a2-0x0;let _0x474faf=_0x3278[_0x37c4a2];return _0x474faf;};import{Command as _0x383da7}from'ckeditor5/src/core';import{PASTE_FORMAT_COMMAND_NAME as _0x94cfdd}from'./utils';export default class r extends _0x383da7{constructor(_0x42f5a6){super(_0x42f5a6),this[_0x474f('0x5')]=void 0x0,this['on'](_0x474f('0x6'),(_0xb01ca4,_0xdb8dc8,_0x1fb2b5)=>{_0x1fb2b5||this['reset']();}),this['on']('change:value',()=>_0x42f5a6['commands']['get'](_0x94cfdd)[_0x474f('0x4')]());}[_0x474f('0xb')](){this[_0x474f('0x5')]=this[_0x474f('0xc')]();}[_0x474f('0x0')](){this[_0x474f('0x5')]=void 0x0;}[_0x474f('0xc')](){const _0x34d5f1=this[_0x474f('0xa')][_0x474f('0x7')],_0x48a782=_0x34d5f1[_0x474f('0x8')]['selection'];return Object[_0x474f('0x9')](Array[_0x474f('0x1')](_0x48a782['getAttributes']())[_0x474f('0xd')](([_0x14b501])=>_0x34d5f1[_0x474f('0x2')][_0x474f('0x3')](_0x14b501)['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(): readonly [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 _0x29db=['pluginName','FormatPainter'];(function(_0xb41ea6,_0x29dbe4){var _0x3ed320=function(_0xc7b93e){while(--_0xc7b93e){_0xb41ea6['push'](_0xb41ea6['shift']());}};_0x3ed320(++_0x29dbe4);}(_0x29db,0x93));var _0x3ed3=function(_0xb41ea6,_0x29dbe4){_0xb41ea6=_0xb41ea6-0x0;var _0x3ed320=_0x29db[_0xb41ea6];return _0x3ed320;};import{Plugin as _0x81e726}from'ckeditor5/src/core';import _0x3e9d10 from'./formatpainterediting';import _0x6c7313 from'./formatpainterui';export default class m extends _0x81e726{static get['requires'](){return[_0x3e9d10,_0x6c7313];}static get[_0x3ed3('0x1')](){return _0x3ed3('0x0');}}
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
destroy(): void;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* An object with key-value pairs describing formatting model attributes and their values.
|
|
33
|
+
*/
|
|
34
|
+
export type FormattingAttributesValues = {
|
|
35
|
+
[k: string]: unknown;
|
|
36
|
+
};
|