magic-editor-x 1.1.0 → 1.2.2
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 +83 -6
- package/dist/_chunks/{App-mtrlABtd.js → App-BHNqY71z.js} +4 -4
- package/dist/_chunks/{App-B1FgOsWa.mjs → App-LgFoHtyD.mjs} +4 -4
- package/dist/_chunks/{LicensePage-BnyWSrWs.js → LicensePage-VwKQMnUO.js} +2 -2
- package/dist/_chunks/{LicensePage-CWH-AFR-.mjs → LicensePage-oxUnaZmr.mjs} +2 -2
- package/dist/_chunks/{LiveCollaborationPanel-DbDHwr2C.js → LiveCollaborationPanel-CqtkFWJs.js} +1 -1
- package/dist/_chunks/{LiveCollaborationPanel-ryjcDAA7.mjs → LiveCollaborationPanel-elejZRkh.mjs} +1 -1
- package/dist/_chunks/{Settings-Bk9bxJTy.js → Settings-4wUHMbn0.js} +1 -1
- package/dist/_chunks/{Settings-D-V2MLVm.mjs → Settings-BI9zxX3k.mjs} +1 -1
- package/dist/_chunks/{de-CSrHZWEb.mjs → de-C_0Mj-Zo.mjs} +1 -0
- package/dist/_chunks/{de-CzSo1oD2.js → de-DVNVpAt9.js} +1 -0
- package/dist/_chunks/{en-DuQun2v4.mjs → en-B7AAf1ie.mjs} +1 -0
- package/dist/_chunks/{en-DxIkVPUh.js → en-C2hv5GsA.js} +1 -0
- package/dist/_chunks/{es-DAQ_97zx.js → es-BzJqcIST.js} +1 -0
- package/dist/_chunks/{es-DEB0CA8S.mjs → es-zdP8sd-f.mjs} +1 -0
- package/dist/_chunks/{fr-Bqkhvdx2.mjs → fr-CtAgOgH1.mjs} +1 -0
- package/dist/_chunks/{fr-ChPabvNP.js → fr-D3GwqAAJ.js} +1 -0
- package/dist/_chunks/{getTranslation-C4uWR0DB.mjs → getTranslation-ChB_HlBd.mjs} +7 -6
- package/dist/_chunks/{getTranslation-D35vbDap.js → getTranslation-DxG1pB5q.js} +2 -1
- package/dist/_chunks/{index-BiLy_f7C.js → index-C_SiBh7v.js} +9 -9
- package/dist/_chunks/{index-B5MzUyo0.mjs → index-CtyxDZ0S.mjs} +9 -9
- package/dist/_chunks/{index-CQx7-dFP.js → index-DGRg45vZ.js} +890 -65
- package/dist/_chunks/{index-BRVqbnOb.mjs → index-IYdGq7Rl.mjs} +891 -66
- package/dist/_chunks/{pt-BMoYltav.mjs → pt-BmUw6YMP.mjs} +1 -0
- package/dist/_chunks/{pt-Cm74LpyZ.js → pt-CFo0nTbj.js} +1 -0
- package/dist/_chunks/{tools-CjnQJ9w2.mjs → tools-BAvbiUHr.mjs} +6 -1
- package/dist/_chunks/{tools-DNt2tioN.js → tools-Dn4jPdJs.js} +6 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/server/index.js +37244 -1293
- package/dist/server/index.mjs +37230 -1286
- package/package.json +1 -1
|
@@ -92,6 +92,7 @@ const pt = {
|
|
|
92
92
|
"editor.clearConfirm": "Limpar todo o conteúdo? Isso não pode ser desfeito.",
|
|
93
93
|
"editor.fullscreen": "Tela Cheia",
|
|
94
94
|
"editor.exitFullscreen": "Sair da Tela Cheia",
|
|
95
|
+
"editor.versionHistory": "Histórico",
|
|
95
96
|
"editor.mediaLibrary": "Media Library",
|
|
96
97
|
"editor.placeholder": "Comece a escrever seu incrível conteúdo...",
|
|
97
98
|
"collab.title": "Colaboração ao Vivo",
|
|
@@ -94,6 +94,7 @@ const pt = {
|
|
|
94
94
|
"editor.clearConfirm": "Limpar todo o conteúdo? Isso não pode ser desfeito.",
|
|
95
95
|
"editor.fullscreen": "Tela Cheia",
|
|
96
96
|
"editor.exitFullscreen": "Sair da Tela Cheia",
|
|
97
|
+
"editor.versionHistory": "Histórico",
|
|
97
98
|
"editor.mediaLibrary": "Media Library",
|
|
98
99
|
"editor.placeholder": "Comece a escrever seu incrível conteúdo...",
|
|
99
100
|
"collab.title": "Colaboração ao Vivo",
|
|
@@ -1696,6 +1696,9 @@ class MediaLibAdapter {
|
|
|
1696
1696
|
};
|
|
1697
1697
|
}
|
|
1698
1698
|
}
|
|
1699
|
+
Personality.isReadOnlySupported = true;
|
|
1700
|
+
MediaLibAdapter.isReadOnlySupported = true;
|
|
1701
|
+
ButtonTool.isReadOnlySupported = true;
|
|
1699
1702
|
const getAuthToken = () => {
|
|
1700
1703
|
try {
|
|
1701
1704
|
const token = sessionStorage.getItem("jwtToken");
|
|
@@ -1712,7 +1715,7 @@ const getAuthToken = () => {
|
|
|
1712
1715
|
return null;
|
|
1713
1716
|
}
|
|
1714
1717
|
};
|
|
1715
|
-
const getTools = ({ mediaLibToggleFunc, pluginId }) => {
|
|
1718
|
+
const getTools = ({ mediaLibToggleFunc, pluginId, openLinkPicker }) => {
|
|
1716
1719
|
const token = getAuthToken();
|
|
1717
1720
|
const authHeader = token ? `Bearer ${token}` : "";
|
|
1718
1721
|
return {
|
|
@@ -2100,6 +2103,8 @@ const getTools = ({ mediaLibToggleFunc, pluginId }) => {
|
|
|
2100
2103
|
},
|
|
2101
2104
|
shortcut: "CMD+SHIFT+G"
|
|
2102
2105
|
},
|
|
2106
|
+
// Note: Webtools Link integration is handled via toolbar button in EditorJS component
|
|
2107
|
+
// The inline tool was removed as redundant - toolbar button works better
|
|
2103
2108
|
// ============================================
|
|
2104
2109
|
// TUNES (3 Tunes)
|
|
2105
2110
|
// ============================================
|
|
@@ -1729,6 +1729,9 @@ class MediaLibAdapter {
|
|
|
1729
1729
|
};
|
|
1730
1730
|
}
|
|
1731
1731
|
}
|
|
1732
|
+
Personality__default.default.isReadOnlySupported = true;
|
|
1733
|
+
MediaLibAdapter.isReadOnlySupported = true;
|
|
1734
|
+
ButtonTool.isReadOnlySupported = true;
|
|
1732
1735
|
const getAuthToken = () => {
|
|
1733
1736
|
try {
|
|
1734
1737
|
const token = sessionStorage.getItem("jwtToken");
|
|
@@ -1745,7 +1748,7 @@ const getAuthToken = () => {
|
|
|
1745
1748
|
return null;
|
|
1746
1749
|
}
|
|
1747
1750
|
};
|
|
1748
|
-
const getTools = ({ mediaLibToggleFunc, pluginId }) => {
|
|
1751
|
+
const getTools = ({ mediaLibToggleFunc, pluginId, openLinkPicker }) => {
|
|
1749
1752
|
const token = getAuthToken();
|
|
1750
1753
|
const authHeader = token ? `Bearer ${token}` : "";
|
|
1751
1754
|
return {
|
|
@@ -2133,6 +2136,8 @@ const getTools = ({ mediaLibToggleFunc, pluginId }) => {
|
|
|
2133
2136
|
},
|
|
2134
2137
|
shortcut: "CMD+SHIFT+G"
|
|
2135
2138
|
},
|
|
2139
|
+
// Note: Webtools Link integration is handled via toolbar button in EditorJS component
|
|
2140
|
+
// The inline tool was removed as redundant - toolbar button works better
|
|
2136
2141
|
// ============================================
|
|
2137
2142
|
// TUNES (3 Tunes)
|
|
2138
2143
|
// ============================================
|
package/dist/admin/index.js
CHANGED
package/dist/admin/index.mjs
CHANGED