@kennethmakjw/appflowy-editor-react19 0.0.1
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/README.md +306 -0
- package/dist/ar-SA-B3W2Oswh.cjs +8 -0
- package/dist/ar-SA-CaPcPWVS.js +8 -0
- package/dist/ca-ES-DehQhAeM.js +8 -0
- package/dist/ca-ES-WjpoQZs5.cjs +8 -0
- package/dist/ckb-KU-Cc13dwJI.cjs +8 -0
- package/dist/ckb-KU-DXz5rZMu.js +8 -0
- package/dist/components/Leaf.d.ts +3 -0
- package/dist/components/element/BulletedList.d.ts +3 -0
- package/dist/components/element/Checkbox.d.ts +3 -0
- package/dist/components/element/CodeBlock/index.d.ts +3 -0
- package/dist/components/element/CodeBlock/useDecorate.d.ts +3 -0
- package/dist/components/element/CodeBlock/utils.d.ts +2 -0
- package/dist/components/element/Divider.d.ts +3 -0
- package/dist/components/element/Element.d.ts +3 -0
- package/dist/components/element/Heading.d.ts +3 -0
- package/dist/components/element/Image.d.ts +3 -0
- package/dist/components/element/LinkPreview.d.ts +3 -0
- package/dist/components/element/NumberedList.d.ts +3 -0
- package/dist/components/element/Quote.d.ts +3 -0
- package/dist/components/element/Table.d.ts +3 -0
- package/dist/components/element/TableCell.d.ts +3 -0
- package/dist/components/element/TableRow.d.ts +3 -0
- package/dist/components/element/index.d.ts +1 -0
- package/dist/components/fixed-toolbar/Aa.d.ts +2 -0
- package/dist/components/fixed-toolbar/BIUS.d.ts +4 -0
- package/dist/components/fixed-toolbar/Color.d.ts +2 -0
- package/dist/components/fixed-toolbar/FixedToolbar.d.ts +2 -0
- package/dist/components/fixed-toolbar/List.d.ts +2 -0
- package/dist/components/fixed-toolbar/index.d.ts +1 -0
- package/dist/components/ui/alert.d.ts +8 -0
- package/dist/components/ui/button.d.ts +15 -0
- package/dist/components/ui/input.d.ts +3 -0
- package/dist/components/ui/label.d.ts +5 -0
- package/dist/components/ui/loading-dots.d.ts +4 -0
- package/dist/components/ui/popover.d.ts +12 -0
- package/dist/components/ui/select.d.ts +13 -0
- package/dist/components/ui/separator.d.ts +4 -0
- package/dist/components/ui/switch.d.ts +4 -0
- package/dist/components/ui/tooltip.d.ts +7 -0
- package/dist/cs-CZ-B7cFODNF.js +8 -0
- package/dist/cs-CZ-BiGttx8Y.cjs +8 -0
- package/dist/de-DE-3L1r5Sau.cjs +8 -0
- package/dist/de-DE-CJLJMQlm.js +8 -0
- package/dist/dev/App.d.ts +1 -0
- package/dist/dev/MarkdownDemo.d.ts +2 -0
- package/dist/dev/i18n.d.ts +1 -0
- package/dist/dev/main.d.ts +1 -0
- package/dist/editor/Editor.d.ts +3 -0
- package/dist/editor/RichText.d.ts +12 -0
- package/dist/editor/context.d.ts +6 -0
- package/dist/editor/index.d.ts +2 -0
- package/dist/editor/useEditor.d.ts +5 -0
- package/dist/editor/useKeydown.d.ts +3 -0
- package/dist/es-VE-IXYuj5s7.js +8 -0
- package/dist/es-VE-ZvJoouw6.cjs +8 -0
- package/dist/eu-ES-BGs4iMYs.js +8 -0
- package/dist/eu-ES-DjInTP04.cjs +8 -0
- package/dist/fa-BCkDldDE.js +8 -0
- package/dist/fa-BsZBNwW8.cjs +8 -0
- package/dist/fr-CA-BlpVaep8.cjs +8 -0
- package/dist/fr-CA-v0JzOPW4.js +8 -0
- package/dist/fr-FR-CiKan-7_.cjs +8 -0
- package/dist/fr-FR-DsF3n-KY.js +8 -0
- package/dist/he-BwXJVdkh.cjs +8 -0
- package/dist/he-DtMbntw2.js +8 -0
- package/dist/hu-HU-B6cP2C9b.cjs +8 -0
- package/dist/hu-HU-BIfnlWEM.js +8 -0
- package/dist/i18n/config.d.ts +3 -0
- package/dist/i18n/index.d.ts +4 -0
- package/dist/id-ID-AOveF0gP.js +8 -0
- package/dist/id-ID-cZS98QKP.cjs +8 -0
- package/dist/index.css +1593 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +10266 -0
- package/dist/index.mjs +10250 -0
- package/dist/it-IT-DN-rTKuB.js +8 -0
- package/dist/it-IT-rGclB8nF.cjs +8 -0
- package/dist/ja-JP-BT23Z2YG.js +8 -0
- package/dist/ja-JP-DaiwUIKv.cjs +8 -0
- package/dist/ko-KR-CBlhTpPW.cjs +8 -0
- package/dist/ko-KR-DYwSdomr.js +8 -0
- package/dist/lib/color.d.ts +50 -0
- package/dist/lib/editor.d.ts +11 -0
- package/dist/lib/hotkeys.d.ts +66 -0
- package/dist/lib/list.d.ts +6 -0
- package/dist/lib/markdown.d.ts +3 -0
- package/dist/lib/mdast.d.ts +5 -0
- package/dist/lib/mdast.test.d.ts +1 -0
- package/dist/lib/transform.d.ts +7 -0
- package/dist/lib/utils.d.ts +9 -0
- package/dist/locales/ar-SA.json +17 -0
- package/dist/locales/ca-ES.json +17 -0
- package/dist/locales/ckb-KU.json +5 -0
- package/dist/locales/cs-CZ.json +17 -0
- package/dist/locales/de-DE.json +17 -0
- package/dist/locales/en.json +38 -0
- package/dist/locales/es-VE.json +17 -0
- package/dist/locales/eu-ES.json +17 -0
- package/dist/locales/fa.json +17 -0
- package/dist/locales/fr-CA.json +17 -0
- package/dist/locales/fr-FR.json +17 -0
- package/dist/locales/he.json +17 -0
- package/dist/locales/hu-HU.json +17 -0
- package/dist/locales/id-ID.json +17 -0
- package/dist/locales/it-IT.json +17 -0
- package/dist/locales/ja-JP.json +17 -0
- package/dist/locales/ko-KR.json +17 -0
- package/dist/locales/pl-PL.json +17 -0
- package/dist/locales/pt-BR.json +17 -0
- package/dist/locales/pt-PT.json +17 -0
- package/dist/locales/ru-RU.json +17 -0
- package/dist/locales/sv-SE.json +17 -0
- package/dist/locales/th-TH.json +17 -0
- package/dist/locales/tr-TR.json +17 -0
- package/dist/locales/uk-UA.json +17 -0
- package/dist/locales/vi-VN.json +17 -0
- package/dist/locales/vi.json +17 -0
- package/dist/locales/zh-CN.json +17 -0
- package/dist/locales/zh-TW.json +17 -0
- package/dist/markdown-BidIaSbx.cjs +3274 -0
- package/dist/markdown-CeG0xHLH.js +3275 -0
- package/dist/pl-PL-C_wxsekf.js +8 -0
- package/dist/pl-PL-DBrdwSfX.cjs +8 -0
- package/dist/plugins/index.d.ts +2 -0
- package/dist/plugins/withMarkdown.d.ts +2 -0
- package/dist/plugins/withPasted.d.ts +18 -0
- package/dist/pt-BR-CcIBbs5v.js +8 -0
- package/dist/pt-BR-CpCH-0Ym.cjs +8 -0
- package/dist/pt-PT-2DJTSiTI.js +8 -0
- package/dist/pt-PT-CuvXqmHX.cjs +8 -0
- package/dist/ru-RU-BcrEOraZ.cjs +8 -0
- package/dist/ru-RU-DZ-BGTMT.js +8 -0
- package/dist/sv-SE-B-1TVV6s.js +8 -0
- package/dist/sv-SE-EHxWN7g5.cjs +8 -0
- package/dist/th-TH-B2osIZz0.cjs +8 -0
- package/dist/th-TH-HhkGXVcg.js +8 -0
- package/dist/tr-TR-DKzjnjXz.js +8 -0
- package/dist/tr-TR-DPok6TDa.cjs +8 -0
- package/dist/types/element.d.ts +10 -0
- package/dist/types/index.d.ts +53 -0
- package/dist/uk-UA-CvadWbnH.cjs +8 -0
- package/dist/uk-UA-Us4Zq40s.js +8 -0
- package/dist/vi-DGchnzC4.cjs +8 -0
- package/dist/vi-DV4OvZ5s.js +8 -0
- package/dist/vi-VN-BZdQFzYv.js +8 -0
- package/dist/vi-VN-DzF53ZQz.cjs +8 -0
- package/dist/zh-CN-D7lPKvRq.js +8 -0
- package/dist/zh-CN-FWhRTZFL.cjs +8 -0
- package/dist/zh-TW-D24z6DBg.js +8 -0
- package/dist/zh-TW-DSEvmJwy.cjs +8 -0
- package/package.json +103 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const editor = { "placeholder": "Escribe algo...", "fontColorDefault": "Por defecto", "fontColorRed": "Rojo", "fontColorGreen": "Verde", "fontColorBlue": "Azul", "fontColorYellow": "Amarillo", "fontColorOrange": "Naranja", "fontColorPurple": "Púrpura", "fontColorPink": "Rosa", "fontColorBrown": "Marrón", "fontColorGray": "Gris", "backgroundColorDefault": "Por defecto", "backgroundColorRed": "Rojo" };
|
|
2
|
+
const esVE = {
|
|
3
|
+
editor
|
|
4
|
+
};
|
|
5
|
+
export {
|
|
6
|
+
esVE as default,
|
|
7
|
+
editor
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const editor = { "placeholder": "Escribe algo...", "fontColorDefault": "Por defecto", "fontColorRed": "Rojo", "fontColorGreen": "Verde", "fontColorBlue": "Azul", "fontColorYellow": "Amarillo", "fontColorOrange": "Naranja", "fontColorPurple": "Púrpura", "fontColorPink": "Rosa", "fontColorBrown": "Marrón", "fontColorGray": "Gris", "backgroundColorDefault": "Por defecto", "backgroundColorRed": "Rojo" };
|
|
4
|
+
const esVE = {
|
|
5
|
+
editor
|
|
6
|
+
};
|
|
7
|
+
exports.default = esVE;
|
|
8
|
+
exports.editor = editor;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const editor = { "placeholder": "Idatzi zerbait...", "fontColorDefault": "Lehenetsia", "fontColorRed": "Gorria", "fontColorGreen": "Berdea", "fontColorBlue": "Urdina", "fontColorYellow": "Horia", "fontColorOrange": "Laranja", "fontColorPurple": "Morea", "fontColorPink": "Arrosa", "fontColorBrown": "Marroia", "fontColorGray": "Grisa", "backgroundColorDefault": "Lehenetsia", "backgroundColorRed": "Gorria" };
|
|
2
|
+
const euES = {
|
|
3
|
+
editor
|
|
4
|
+
};
|
|
5
|
+
export {
|
|
6
|
+
euES as default,
|
|
7
|
+
editor
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const editor = { "placeholder": "Idatzi zerbait...", "fontColorDefault": "Lehenetsia", "fontColorRed": "Gorria", "fontColorGreen": "Berdea", "fontColorBlue": "Urdina", "fontColorYellow": "Horia", "fontColorOrange": "Laranja", "fontColorPurple": "Morea", "fontColorPink": "Arrosa", "fontColorBrown": "Marroia", "fontColorGray": "Grisa", "backgroundColorDefault": "Lehenetsia", "backgroundColorRed": "Gorria" };
|
|
4
|
+
const euES = {
|
|
5
|
+
editor
|
|
6
|
+
};
|
|
7
|
+
exports.default = euES;
|
|
8
|
+
exports.editor = editor;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const editor = { "placeholder": "چیزی بنویس...", "fontColorDefault": "پیش فرض", "fontColorRed": "قرمز", "fontColorGreen": "سبز", "fontColorBlue": "آبی", "fontColorYellow": "زرد", "fontColorOrange": "نارنجی", "fontColorPurple": "بنفش", "fontColorPink": "صورتی", "fontColorBrown": "قهوه ای", "fontColorGray": "خاکستری", "backgroundColorDefault": "پیش فرض", "backgroundColorRed": "قرمز" };
|
|
2
|
+
const fa = {
|
|
3
|
+
editor
|
|
4
|
+
};
|
|
5
|
+
export {
|
|
6
|
+
fa as default,
|
|
7
|
+
editor
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const editor = { "placeholder": "چیزی بنویس...", "fontColorDefault": "پیش فرض", "fontColorRed": "قرمز", "fontColorGreen": "سبز", "fontColorBlue": "آبی", "fontColorYellow": "زرد", "fontColorOrange": "نارنجی", "fontColorPurple": "بنفش", "fontColorPink": "صورتی", "fontColorBrown": "قهوه ای", "fontColorGray": "خاکستری", "backgroundColorDefault": "پیش فرض", "backgroundColorRed": "قرمز" };
|
|
4
|
+
const fa = {
|
|
5
|
+
editor
|
|
6
|
+
};
|
|
7
|
+
exports.default = fa;
|
|
8
|
+
exports.editor = editor;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const editor = { "placeholder": "Écris quelque chose...", "fontColorDefault": "Défaut", "fontColorRed": "Rouge", "fontColorGreen": "Vert", "fontColorBlue": "Bleu", "fontColorYellow": "Jaune", "fontColorOrange": "Orange", "fontColorPurple": "Violet", "fontColorPink": "Rose", "fontColorBrown": "Brun", "fontColorGray": "Gris", "backgroundColorDefault": "Défaut", "backgroundColorRed": "Rouge" };
|
|
4
|
+
const frCA = {
|
|
5
|
+
editor
|
|
6
|
+
};
|
|
7
|
+
exports.default = frCA;
|
|
8
|
+
exports.editor = editor;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const editor = { "placeholder": "Écris quelque chose...", "fontColorDefault": "Défaut", "fontColorRed": "Rouge", "fontColorGreen": "Vert", "fontColorBlue": "Bleu", "fontColorYellow": "Jaune", "fontColorOrange": "Orange", "fontColorPurple": "Violet", "fontColorPink": "Rose", "fontColorBrown": "Brun", "fontColorGray": "Gris", "backgroundColorDefault": "Défaut", "backgroundColorRed": "Rouge" };
|
|
2
|
+
const frCA = {
|
|
3
|
+
editor
|
|
4
|
+
};
|
|
5
|
+
export {
|
|
6
|
+
frCA as default,
|
|
7
|
+
editor
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const editor = { "placeholder": "Écris quelque chose...", "fontColorDefault": "Défaut", "fontColorRed": "Rouge", "fontColorGreen": "Vert", "fontColorBlue": "Bleu", "fontColorYellow": "Jaune", "fontColorOrange": "Orange", "fontColorPurple": "Violet", "fontColorPink": "Rose", "fontColorBrown": "Brun", "fontColorGray": "Gris", "backgroundColorDefault": "Défaut", "backgroundColorRed": "Rouge" };
|
|
4
|
+
const frFR = {
|
|
5
|
+
editor
|
|
6
|
+
};
|
|
7
|
+
exports.default = frFR;
|
|
8
|
+
exports.editor = editor;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const editor = { "placeholder": "Écris quelque chose...", "fontColorDefault": "Défaut", "fontColorRed": "Rouge", "fontColorGreen": "Vert", "fontColorBlue": "Bleu", "fontColorYellow": "Jaune", "fontColorOrange": "Orange", "fontColorPurple": "Violet", "fontColorPink": "Rose", "fontColorBrown": "Brun", "fontColorGray": "Gris", "backgroundColorDefault": "Défaut", "backgroundColorRed": "Rouge" };
|
|
2
|
+
const frFR = {
|
|
3
|
+
editor
|
|
4
|
+
};
|
|
5
|
+
export {
|
|
6
|
+
frFR as default,
|
|
7
|
+
editor
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const editor = { "placeholder": "תכתוב משהו...", "fontColorDefault": "בְּרִירַת מֶחדָל", "fontColorRed": "אָדוֹם", "fontColorGreen": "יָרוֹק", "fontColorBlue": "כְּחוֹל", "fontColorYellow": "צָהוֹב", "fontColorOrange": "כָּתוֹם", "fontColorPurple": "סָגוֹל", "fontColorPink": "וָרוֹד", "fontColorBrown": "חוּם", "fontColorGray": "אָפוֹר", "backgroundColorDefault": "בְּרִירַת מֶחדָל", "backgroundColorRed": "אָדוֹם" };
|
|
4
|
+
const he = {
|
|
5
|
+
editor
|
|
6
|
+
};
|
|
7
|
+
exports.default = he;
|
|
8
|
+
exports.editor = editor;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const editor = { "placeholder": "תכתוב משהו...", "fontColorDefault": "בְּרִירַת מֶחדָל", "fontColorRed": "אָדוֹם", "fontColorGreen": "יָרוֹק", "fontColorBlue": "כְּחוֹל", "fontColorYellow": "צָהוֹב", "fontColorOrange": "כָּתוֹם", "fontColorPurple": "סָגוֹל", "fontColorPink": "וָרוֹד", "fontColorBrown": "חוּם", "fontColorGray": "אָפוֹר", "backgroundColorDefault": "בְּרִירַת מֶחדָל", "backgroundColorRed": "אָדוֹם" };
|
|
2
|
+
const he = {
|
|
3
|
+
editor
|
|
4
|
+
};
|
|
5
|
+
export {
|
|
6
|
+
he as default,
|
|
7
|
+
editor
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const editor = { "placeholder": "Írj valamit...", "fontColorDefault": "Alapértelmezett", "fontColorRed": "Piros", "fontColorGreen": "Zöld", "fontColorBlue": "Kék", "fontColorYellow": "Sárga", "fontColorOrange": "Narancs", "fontColorPurple": "Lila", "fontColorPink": "Rózsaszín", "fontColorBrown": "Barna", "fontColorGray": "Szürke", "backgroundColorDefault": "Alapértelmezett", "backgroundColorRed": "Piros" };
|
|
4
|
+
const huHU = {
|
|
5
|
+
editor
|
|
6
|
+
};
|
|
7
|
+
exports.default = huHU;
|
|
8
|
+
exports.editor = editor;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const editor = { "placeholder": "Írj valamit...", "fontColorDefault": "Alapértelmezett", "fontColorRed": "Piros", "fontColorGreen": "Zöld", "fontColorBlue": "Kék", "fontColorYellow": "Sárga", "fontColorOrange": "Narancs", "fontColorPurple": "Lila", "fontColorPink": "Rózsaszín", "fontColorBrown": "Barna", "fontColorGray": "Szürke", "backgroundColorDefault": "Alapértelmezett", "backgroundColorRed": "Piros" };
|
|
2
|
+
const huHU = {
|
|
3
|
+
editor
|
|
4
|
+
};
|
|
5
|
+
export {
|
|
6
|
+
huHU as default,
|
|
7
|
+
editor
|
|
8
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { useTranslation as useReactI18next } from 'react-i18next';
|
|
2
|
+
export declare function changeLanguage(lang: string): Promise<import('i18next').TFunction<"editor", undefined, "editor">>;
|
|
3
|
+
export declare function addResourceBundle(lang: string, _ns: string, resources: Record<string, string>): void;
|
|
4
|
+
export declare const useTranslation: typeof useReactI18next;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const editor = { "placeholder": "Tulis sesuatu...", "fontColorDefault": "Bawaan", "fontColorRed": "Merah", "fontColorGreen": "Hijau", "fontColorBlue": "Biru", "fontColorYellow": "Kuning", "fontColorOrange": "Oranye", "fontColorPurple": "Ungu", "fontColorPink": "Berwarna merah muda", "fontColorBrown": "Cokelat", "fontColorGray": "Abu-abu", "backgroundColorDefault": "Bawaan", "backgroundColorRed": "Merah" };
|
|
2
|
+
const idID = {
|
|
3
|
+
editor
|
|
4
|
+
};
|
|
5
|
+
export {
|
|
6
|
+
idID as default,
|
|
7
|
+
editor
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const editor = { "placeholder": "Tulis sesuatu...", "fontColorDefault": "Bawaan", "fontColorRed": "Merah", "fontColorGreen": "Hijau", "fontColorBlue": "Biru", "fontColorYellow": "Kuning", "fontColorOrange": "Oranye", "fontColorPurple": "Ungu", "fontColorPink": "Berwarna merah muda", "fontColorBrown": "Cokelat", "fontColorGray": "Abu-abu", "backgroundColorDefault": "Bawaan", "backgroundColorRed": "Merah" };
|
|
4
|
+
const idID = {
|
|
5
|
+
editor
|
|
6
|
+
};
|
|
7
|
+
exports.default = idID;
|
|
8
|
+
exports.editor = editor;
|