From 1bbcdf97f05fae052baaee905caa44500602da8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B5=D0=BD=D0=B8=D1=81=20=D0=A1=D1=82=D1=80=D0=BE?= =?UTF-8?q?=D0=BA=D0=BE=D0=B2?= Date: Sun, 12 Feb 2023 23:42:01 +0300 Subject: [PATCH 1/2] fix for package.json github release --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3adb522..4835fda 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "wc-wysiwyg-editor", + "name": "@webislife/wc-wysiwyg-editor", "version": "0.9.1", "description": "WYWSIWYG HTML5 Editor written in ts and designed by web-componennt, support all JS frameworks and browsers", "main": "src/wc-wysiwyg.ts", From 26d1bc72ea823da95a947f9b0db5687245285211 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B5=D0=BD=D0=B8=D1=81=20=D0=A1=D1=82=D1=80=D0=BE?= =?UTF-8?q?=D0=BA=D0=BE=D0=B2?= Date: Mon, 13 Feb 2023 00:24:54 +0300 Subject: [PATCH 2/2] update readme.md --- README.md | 80 ++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 65 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 9dc480e..dd32c61 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ -# wc-time -WYWSIWYG HTML5 Editor written in TypeScript and designed by web-componennt, support all JS frameworks and browsers. +# wc-wysiwyg custom element + +WC-WSIWYG HTML5 Editor written in TypeScript and designed by web-componennt, support all JS frameworks and browsers. See full demo - [wc-wysiwyg demo](https://webislife.ru/demo/wc-wysiwyg/) list and demo of all editor features @@ -9,28 +10,76 @@ See full demo - [wc-wysiwyg demo](https://webislife.ru/demo/wc-wysiwyg/) list an npm i wc-wysiwyg-editor --save ``` +## Features +βœ… Multilingual support via [HTMLElement.lang](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/lang) attribute πŸ‡·πŸ‡Ί/πŸ‡ΊπŸ‡Έ supported by default + +βœ… CSS styles for all popular HTML5 tags + +βœ… CSS support for πŸ”₯ in bulleted lists + +βœ… Support for style inheritance via CSS class in the `data-content-class` attribute of emoji in bulleted lists + +βœ… Inline actions on selected text + +βœ… Storing value in `window.localStorage` and restoring after reload, check in comment form below + +βœ… Eetting editable properties of any tags, the number of tags and attributes are configurable +βœ… Autocomplete as you type / for supported tags in new paragraph + +βœ… Text\HTML5 view switcher + +βœ… Size Clear Button `ΘΎ` + +βœ… Live preview + +- βœ… Keyboard Shortcuts + - `ALT`+`SPACE` toggle the current caret pointer outside the tag + - `ESCAPE` close bottom editor dialog box + +βœ… Validation required, minlength, maxlength, filtertags + +βœ… Inserting `