1.0.5 • Published 6 years ago

spell-editor v1.0.5

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

spell is a fork of pell, the simplest and smallest WYSIWYG text editor for web, with no dependencies

Try it online

https://sylvainpolletvillard.github.io/spell/demo.html

Differences with original pell

  • More features:

    • superscript / subscript
    • text align left/center/right/justify
    • indent / outdent
    • font family
    • font size
    • text foreground color and highlight color
    • more headings
    • clear formatting
    • unlink
    • insert video
    • copy / cut/ paste
    • undo / redo
  • Even smaller than the original: 912 bytes minified and gzipped

  • Custom icon font
  • Less dev dependencies, bring your own transpiler if needed
  • Actions are spread accross different action bars
  • No config, edit the source directly and comment the actions you don't want

Size

librarysize (min+gzip)size (min)jquerybootstrap
spell912B1.61kB
pell1.38kB3.54kB
medium-editor27kB105kB
quill43kB205kB
ckeditor163kB551kB
summernote26kB93kBxx
froala52kB186kBx
tinymce157kB491kBx

Installation and Usage

<link rel="stylesheet" type="text/css" href="spell.css">

<div id="container"></div>

<script>
    import { spell } from 'spell-editor/spell'

    document.getElementById('container').appendChild(spell())
</script>

License

MIT

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.9.1

6 years ago

0.9.0

6 years ago