@airalogy/aimd-editor 1.15.0 → 1.16.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/README.md +2 -0
- package/README.zh-CN.md +2 -0
- package/dist/{AimdEditorTopBar.vue_vue_type_script_setup_true_lang-Bn17A3TY.js → AimdEditorTopBar.vue_vue_type_script_setup_true_lang-DqlyxLJI.js} +958 -950
- package/dist/AimdSourceEditor.vue_vue_type_script_setup_true_lang-DdjWUzYX.js +495 -0
- package/dist/{AimdWysiwygEditor.vue_vue_type_script_setup_true_lang-DAnR-8Ny.js → AimdWysiwygEditor.vue_vue_type_script_setup_true_lang-DuOq6WfS.js} +4130 -4034
- package/dist/aimd-editor.css +1 -1
- package/dist/embedded.js +2 -2
- package/dist/index.js +3 -3
- package/dist/vue.js +3 -3
- package/dist/wysiwyg.js +1 -1
- package/package.json +2 -2
- package/src/__tests__/embedded-images.test.ts +65 -0
- package/src/vue/AimdSourceEditor.vue +8 -0
- package/src/vue/AimdWysiwygEditor.vue +2 -0
- package/src/vue/embeddedImages.css +23 -0
- package/src/vue/embeddedImages.ts +61 -0
- package/src/vue/locales.ts +18 -0
- package/src/vue/milkdown-embedded-images.ts +77 -0
- package/src/vue/monaco-embedded-images.ts +113 -0
- package/src/vue/useEditorContent.ts +24 -5
- package/dist/AimdSourceEditor.vue_vue_type_script_setup_true_lang-DTu36rqy.js +0 -424
package/README.md
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
AIMD (Airalogy Markdown) authoring toolkit for Monaco + Vue (WYSIWYG/source workflows).
|
|
7
7
|
|
|
8
|
+
Long Base64 image URLs are collapsed in the visual and source editors. Use **Expand** to inspect the data or **Copy data URL** to copy the whole URL. This works for Markdown images and the `src` of a `fig` block. The saved AIMD retains the full image.
|
|
9
|
+
|
|
8
10
|
## Install
|
|
9
11
|
|
|
10
12
|
```bash
|