quill
Version 2.0.2
ドキュメント•開発•貢献•インタラクティブなプレイグラウンド
Quill は、互換性と拡張性を考慮して構築された最新のリッチ テキスト エディターです。これは Jason Chen と Byron Milligan によって作成され、Slab によって積極的に保守されています。
まずは https://quilljs.com/ でドキュメント、ガイド、ライブデモをチェックしてください。
エディターとなる div の CSS セレクターを使用して、新しい Quill オブジェクトをインスタンス化します。
<!-- Include Quill stylesheet -->
< link
href =" https://cdn.jsdelivr.net/npm/quill@2/dist/quill.snow.css "
rel =" stylesheet "
/>
<!-- Create the toolbar container -->
< div id =" toolbar " >
< button class =" ql-bold " > Bold </ button >
< button class =" ql-italic " > Italic </ button >
</ div >
<!-- Create the editor container -->
< div id =" editor " >
< p > Hello World! </ p >
< p > Some initial < strong > bold </ strong > text </ p >
< p > < br /> </ p >
</ div >
<!-- Include the Quill library -->
< script src =" https://cdn.jsdelivr.net/npm/quill@2/dist/quill.js " > </ script >
<!-- Initialize Quill editor -->
< script >
const quill = new Quill ( "#editor" , {
theme : "snow" ,
} ) ;
</ script >
その他のドキュメント、ガイド、ライブ プレイグラウンドについては、Quill Web サイトをご覧ください。
npm install quill
<!-- Main Quill library -->
< script src =" https://cdn.jsdelivr.net/npm/quill@2/dist/quill.js " > </ script >
<!-- Theme included stylesheets -->
< link
href =" https://cdn.jsdelivr.net/npm/quill@2/dist/quill.snow.css "
rel =" stylesheet "
/>
< link
href =" https://cdn.jsdelivr.net/npm/quill@2/dist/quill.bubble.css "
rel =" stylesheet "
/>
<!-- Core build with no theme, formatting, non-essential modules -->
< link
href =" https://cdn.jsdelivr.net/npm/quill@2/dist/quill.core.css "
rel =" stylesheet "
/>
< script src =" https://cdn.jsdelivr.net/npm/quill@2/dist/quill.core.js " > </ script >
サポートを受けるか、最新情報を入手してください。
BSD 3 節