Skip to content

a fork of pell, the simplest and smallest WYSIWYG text editor for web

License

Notifications You must be signed in to change notification settings

sylvainpolletvillard/spell

 
 

Repository files navigation

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

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

library size (min+gzip) size (min) jquery bootstrap
spell 912B 1.61kB
pell 1.38kB 3.54kB
medium-editor 27kB 105kB
quill 43kB 205kB
ckeditor 163kB 551kB
summernote 26kB 93kB x x
froala 52kB 186kB x
tinymce 157kB 491kB x

Installation and Usage

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

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

<script src="spell.js"></script>
<script>document.getElementById('container').appendChild(spell())</script>

License

MIT

About

a fork of pell, the simplest and smallest WYSIWYG text editor for web

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 70.7%
  • CSS 17.6%
  • JavaScript 11.7%