mirror of
https://github.com/webislife/wc-wysiwyg.git
synced 2025-07-20 06:16:09 +00:00
32d647647318df48f977e49f097e40974c929cba
wc-time
WYWSIWYG HTML5 Editor written in TypeScript and designed by web-componennt, support all JS frameworks and browsers. See full demo - wc-wysiwyg demo list and demo of all editor features
Install
npm i wc-wysiwyg-editor --save
Commands
Available package commands
`npm run sass' - build scss styles
`npm run tsc' - run typescript
`npm run babel-minify' - minify code after typescript
`npm run build' - build all stpes 1.sass 2.tsc 3.babel-minify
Custom element demo
<wc-wysiwyg id="wc-demo-comment"
data-allow-tags="strong,u,i,b,q,blockquote,a,img,pre"
data-storage="demo-comment"
data-hide-bottom-actions="1"
is="wc-wysiwyg"
required
minlength="5"
maxlength="500">
<textarea>your comment</textarea>
</wc-wysiwyg>
See full demo - wc-wysiwyg demo list and demo of all editor features
Dont forgot star on git! Thank you! Enojoy!
Dev by strokoff.ru - make web, not war)
Description
Languages
TypeScript
54.2%
SCSS
24.9%
HTML
20.6%
JavaScript
0.3%