@14ch/svelte-md-outliner 0.0.6 → 0.0.7
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 +9 -0
- package/dist/assets/styles/editor.css +10 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.0.7] - 2026-09-09
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- A read-only editor no longer shows the empty "Front Matter" placeholder. The
|
|
13
|
+
label is an entry point for adding metadata, which a read-only editor cannot
|
|
14
|
+
do; the empty block now takes no space at all. Front matter with content is
|
|
15
|
+
still shown as before.
|
|
16
|
+
|
|
8
17
|
## [0.0.6] - 2026-09-08
|
|
9
18
|
|
|
10
19
|
### Changed
|
|
@@ -954,6 +954,16 @@
|
|
|
954
954
|
display: block;
|
|
955
955
|
}
|
|
956
956
|
|
|
957
|
+
/**
|
|
958
|
+
* **読み取り専用では、空のフロントマターは場所ごと出さない。** 名前は「メタデータを
|
|
959
|
+
* 書き足す入口」であり、書けない状態で出すと、何もできない場所へ入口を広告することになる
|
|
960
|
+
* (押せる面のホバー表示を読み取り専用で出さないのと同じ理由)。キャレットの着地点も
|
|
961
|
+
* 要らない——中へ入る経路そのものが無い。中身があれば従来どおり読める形で出す。
|
|
962
|
+
*/
|
|
963
|
+
.markdown-editor__surface[aria-readonly] .markdown-editor__front-matter--empty {
|
|
964
|
+
display: none;
|
|
965
|
+
}
|
|
966
|
+
|
|
957
967
|
/**
|
|
958
968
|
* 読むあいだ、機械向けの日時表記は人の読む形で覆う(→ `dateText`)。
|
|
959
969
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@14ch/svelte-md-outliner",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "An outliner-style Markdown editor for Svelte 5. Headings form a real section tree you can fold, focus, and re-nest from the keyboard.",
|