@lrnwebcomponents/rich-text-editor
Advanced tools
Comparing version 7.0.11 to 7.0.15
@@ -53,7 +53,5 @@ /** | ||
title: "Link", | ||
description: "The URL for this video.", | ||
description: "The URL to a resource.", | ||
required: true, | ||
inputMethod: "url", | ||
validationType: "url", | ||
autoValidate: true, | ||
inputMethod: "haxupload", | ||
}, | ||
@@ -82,7 +80,5 @@ ]; | ||
title: "Link", | ||
description: "The URL for this video.", | ||
description: "The URL to a resource.", | ||
required: true, | ||
inputMethod: "url", | ||
validationType: "url", | ||
autoValidate: true, | ||
inputMethod: "haxupload", | ||
}, | ||
@@ -89,0 +85,0 @@ ]; |
@@ -260,2 +260,16 @@ /** | ||
/** | ||
* default config for a span format button | ||
* | ||
* @readonly | ||
*/ | ||
get abbrButton() { | ||
return { | ||
command: "wrapRange", | ||
commandVal: "ABBR", | ||
toggles: true, | ||
label: "Abbr", | ||
type: "rich-text-editor-button", | ||
}; | ||
} | ||
/** | ||
* default config for a style button group: format, bold, italic, and remove format | ||
@@ -262,0 +276,0 @@ * |
@@ -22,3 +22,3 @@ { | ||
}, | ||
"version": "7.0.11", | ||
"version": "7.0.15", | ||
"description": "a standalone rich text editor", | ||
@@ -47,14 +47,14 @@ "repository": { | ||
"dependencies": { | ||
"@lrnwebcomponents/absolute-position-behavior": "^7.0.5", | ||
"@lrnwebcomponents/code-editor": "^7.0.11", | ||
"@lrnwebcomponents/md-extra-icons": "^7.0.11", | ||
"@lrnwebcomponents/simple-fields": "^7.0.11", | ||
"@lrnwebcomponents/simple-icon": "^7.0.11", | ||
"@lrnwebcomponents/simple-icon-picker": "^7.0.11", | ||
"@lrnwebcomponents/simple-picker": "^7.0.11", | ||
"@lrnwebcomponents/simple-popover": "^7.0.11", | ||
"@lrnwebcomponents/simple-toolbar": "^7.0.11", | ||
"@lrnwebcomponents/utils": "^7.0.4", | ||
"@lrnwebcomponents/absolute-position-behavior": "^7.0.15", | ||
"@lrnwebcomponents/code-editor": "^7.0.15", | ||
"@lrnwebcomponents/md-extra-icons": "^7.0.15", | ||
"@lrnwebcomponents/simple-fields": "^7.0.15", | ||
"@lrnwebcomponents/simple-icon": "^7.0.15", | ||
"@lrnwebcomponents/simple-icon-picker": "^7.0.15", | ||
"@lrnwebcomponents/simple-picker": "^7.0.15", | ||
"@lrnwebcomponents/simple-popover": "^7.0.15", | ||
"@lrnwebcomponents/simple-toolbar": "^7.0.15", | ||
"@lrnwebcomponents/utils": "^7.0.15", | ||
"@polymer/iron-icons": "^3.0.1", | ||
"lit": "^2.7.5", | ||
"lit": "^2.7.6", | ||
"shadow-selection-polyfill": "^1.1.0" | ||
@@ -64,7 +64,7 @@ }, | ||
"@lrnwebcomponents/deduping-fix": "^7.0.4", | ||
"@lrnwebcomponents/storybook-utilities": "^7.0.11", | ||
"@lrnwebcomponents/storybook-utilities": "^7.0.15", | ||
"@open-wc/testing": "3.2.0", | ||
"@polymer/iron-component-page": "github:PolymerElements/iron-component-page", | ||
"@polymer/iron-demo-helpers": "3.1.0", | ||
"@web/dev-server": "0.2.3", | ||
"@web/dev-server": "0.3.0", | ||
"@webcomponents/webcomponentsjs": "^2.8.0", | ||
@@ -82,3 +82,3 @@ "concurrently": "8.2.0", | ||
], | ||
"gitHead": "81e23f65259d4753770784eb2ab5dc64250551b7" | ||
"gitHead": "c7826d219bb3282c7d1f7c2cfd9fceb7e238298d" | ||
} |
@@ -275,3 +275,3 @@ /** | ||
this.editing = false; | ||
this.setAttribute("tabindex", 1); | ||
this.setAttribute("tabindex", 0); | ||
this.addEventListener("click", this._handleClick); | ||
@@ -278,0 +278,0 @@ } |
@@ -275,3 +275,3 @@ /** | ||
this.editing = false; | ||
this.setAttribute("tabindex", 1); | ||
this.setAttribute("tabindex", 0); | ||
this.addEventListener("click", this._handleClick); | ||
@@ -278,0 +278,0 @@ } |
@@ -9,3 +9,10 @@ import { fixture, expect, html } from "@open-wc/testing"; | ||
element = await fixture( | ||
html` <rich-text-editor title="test-title"></rich-text-editor> ` | ||
html` | ||
<rich-text-editor> | ||
<p> | ||
I'm the <a href="#top">easiest</a> way to implement editable rich | ||
text. | ||
</p> | ||
</rich-text-editor> | ||
` | ||
); | ||
@@ -12,0 +19,0 @@ }); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
485993
45
10342
Updatedlit@^2.7.6