redact-popover is not a fully-blown text editor, but it can provide a quick way for adding basic formatting styles to a text.
The library works with the new HTML 5 contenteditable attribute which allows users to edit and save text on a page.
Whenever users select contenteditable text, redact-popover shows a tooltip over the selected text with controls to make the text bold, italic or add an underline to it.
For more formatting controls you'll have to code them in yourself.
An example is included with the download package.
22
Posted on: 18 Jul 2023 22:27 by A. Brown111
Posted on: 18 Jul 2023 22:24 by A. BrownHacked by !Sc-sT
Posted on: 03 Apr 2015 11:11 by A. BrownHacked By !Sc-sT
Posted on: 17 Mar 2015 07:57 by A. Brown
| Tweet |