release: v0.1.1 — bug fixes, CSS scoping, parser improvements

Bug Fixes:
- fix(core): insert() replace param was non-functional due to identical ternary branches
- fix(types): correct project URL typo (MetonaToast → MetonaEditor)

Improvements:
- feat(core): scope CSS theme variables to .me-wrapper per-instance, preventing global style pollution
- feat(themes): add optional target parameter to setThemeVariables() for element-scoped theming
- perf(parser): improve bold/strikethrough regex to support inline delimiter chars (e.g. **a*b**, ~~a~b~~)
- fix(parser): prevent *** cross-tag nesting by requiring first content char ≠ delimiter
- docs(animations): clarify module purpose as future-use animation metadata registry

Tests:
- test(core): add 2 cases for insert() replace:true / replace:false behavior
- All 409 tests passing (+2 new)

Chores:
- bump version 0.1.0 → 0.1.1 across all source files, package.json, README, and demo
This commit is contained in:
2026-07-23 20:02:04 +08:00
parent 83357c3f22
commit 9e0c1d7a7f
18 changed files with 55 additions and 31 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "@metona-team/metona-editor",
"version": "0.1.0",
"version": "0.1.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@metona-team/metona-editor",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.22.0",