diff --git a/examples/index.html b/examples/index.html index 5c83d5068f6..fdea6659847 100644 --- a/examples/index.html +++ b/examples/index.html @@ -41,9 +41,6 @@

Custom Elements

  • <input-output> -
  • - <to-do> -
  • <multiple-choice> @@ -83,6 +80,10 @@

    Components

    diff --git a/examples/text-editor/README.md b/examples/text-editor/README.md new file mode 100644 index 00000000000..4552d4420a0 --- /dev/null +++ b/examples/text-editor/README.md @@ -0,0 +1,66 @@ +# `` + +## Example: + +```html + + +``` + +## Browser Support + + * IE 9+ + * Chrome 5+ + * Firefox 4+ + * Safari 5+ + * Opera 11.6+ + +## Comparisons + +| library | size (min+gzip) | size (min) | jquery | bootstrap | +|---------------------|-----------------|------------|--------|-----------| +| <text-editor> | 540Bytes | 1.55kB | | | +| pell | 1.11kB | 2.85kB | | | +| medium-editor | 27kB | 105kB | | | +| quill | 43kB | 205kB | | | +| ckeditor | 163kB | 551kB | | | +| summernote | 26kB | 93kB | x | x | +| froala | 52kB | 186kB | x | | +| tinymce | 157kB | 491kB | x | | + + +## Actions + + - Bold + - Italic + - Underline + - Strike-through + - Heading 1 + - Heading 2 + - Paragraph + - Quote + - Ordered List + - Unordered List + - Horizontal Rule + - Link + +## Roadmap + + - Subscript + - Superscript + - Font Name + - Font Size + - Indent + - Outdent + - Clear Formatting + - Undo + - Redo + +## Quirks + +https://github.com/guardian/scribe/blob/master/BROWSERINCONSISTENCIES.md + + +### License + +MIT diff --git a/examples/text-editor/index.html b/examples/text-editor/index.html new file mode 100644 index 00000000000..ab2c1d2cb55 --- /dev/null +++ b/examples/text-editor/index.html @@ -0,0 +1,86 @@ +<text-editor> + + + + + + + + + +

    <text-editor>

    + See more component examples +
    + + + + + + + +
    This is default text for article
    + + +
    + + + + diff --git a/index.html b/index.html index b401b13125f..5d7d7dcab56 100644 --- a/index.html +++ b/index.html @@ -667,9 +667,6 @@

    Further Learning

  • <input-output> -
  • - <to-do> -
  • <multiple-choice> @@ -711,6 +708,11 @@

    Further Learning