diff --git a/static/css/main.css b/static/css/main.css index d56561f..63c1a4e 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -320,16 +320,6 @@ header .menu { border: 1px solid #ddd; padding: 4px 8px; } -#markdown code { - background: #e6eeee; - padding: 4px; - border-radius: 4px; -} -#markdown pre > code { - background: unset; - padding: 0px; - border-radius: 0px; -} /* ============================================================= * * Textarea replicates the height of an element expanding height * * ============================================================= */ diff --git a/static/images/markdown-hollow.svg b/static/images/markdown-hollow.svg deleted file mode 100644 index bd2e424..0000000 --- a/static/images/markdown-hollow.svg +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - diff --git a/static/js/node.mjs b/static/js/node.mjs index 1c76682..4a3332f 100644 --- a/static/js/node.mjs +++ b/static/js/node.mjs @@ -12,7 +12,6 @@ export class NodeUI extends Component { this.menu = signal(false) this.node = signal(null) this.nodeContent = createRef() - this.nodeProperties = createRef() this.keys = signal([]) this.page = signal('node') @@ -81,7 +80,7 @@ export class NodeUI extends Component { break case 'node-properties': - page = html`<${NodeProperties} ref=${this.nodeProperties} nodeui=${this} />` + page = html`<${NodeProperties} nodeui=${this} />` break case 'keys': @@ -106,7 +105,7 @@ export class NodeUI extends Component {
this.saveNode()}>
document.getElementById('app').classList.toggle('toggle-tree')} />
Notes
-
{ evt.stopPropagation(); this.toggleMarkdown() }}>
+
{ evt.stopPropagation(); this.toggleMarkdown() }}>
this.createNode(evt)}>
{ evt.stopPropagation(); this.showPage('keys') }}>
@@ -161,10 +160,7 @@ export class NodeUI extends Component { break case 'S': - if (this.page.value == 'node') - this.saveNode() - else if (this.page.value == 'node-properties') - this.nodeProperties.current.save() + this.saveNode() break case 'U': diff --git a/static/less/main.less b/static/less/main.less index 670bbfa..30114dc 100644 --- a/static/less/main.less +++ b/static/less/main.less @@ -365,18 +365,6 @@ header { padding: 4px 8px; } } - - code { - background: #e6eeee; - padding: 4px; - border-radius: 4px; - } - - pre > code { - background: unset; - padding: 0px; - border-radius: 0px; - } } /* ============================================================= * diff --git a/version b/version index 9a2a0e2..62ccda5 100644 --- a/version +++ b/version @@ -1 +1 @@ -v20 +v19