Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dile/editor

Package Overview
Dependencies
Maintainers
0
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dile/editor - npm Package Compare versions

Comparing version 2.4.1 to 2.4.2

4

package.json
{
"name": "@dile/editor",
"version": "2.4.1",
"version": "2.4.2",
"description": "Webcomponent to create a user editor interface, configured on various ways",

@@ -44,3 +44,3 @@ "keywords": [

},
"gitHead": "2f4e696db6cb74d33233b83b5da7ce79699c5632"
"gitHead": "bddd214424a2b8a1d0a91d780bc77459a70508f2"
}

@@ -250,17 +250,6 @@ import { LitElement, html, css } from 'lit';

<section name="markdown">
<textarea
id="eltextarea"
.value="${this.value}"
@input=${this.doTextareaKeypress}
></textarea>
${this.textareaTemplate}
</section>
<section class="editor" name="design">
<dile-editor-markdown
id="editor"
@dile-editor-change=${this.updateValue}
._menuConfig=${this._menuConfig}
@dile-editor-markdown-initialized=${this.setInitialized}
.addicionalCommands=${this.addicionalCommands}
language="${this.language}"
></dile-editor-markdown>
${this.editorMarkdownTemplate}
</section>

@@ -274,2 +263,25 @@ </dile-pages>

get editorMarkdownTemplate() {
return html`
<dile-editor-markdown
id="editor"
@dile-editor-change=${this.updateValue}
._menuConfig=${this._menuConfig}
@dile-editor-markdown-initialized=${this.setInitialized}
.addicionalCommands=${this.addicionalCommands}
language="${this.language}"
></dile-editor-markdown>
`
}
get textareaTemplate() {
return html`
<textarea
id="eltextarea"
.value="${this.value}"
@input=${this.doTextareaKeypress}
></textarea>
`
}
updateValue(e) {

@@ -276,0 +288,0 @@ this.value = e.detail.content;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc