Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Latest commit

 

History

History
24 lines (19 loc) · 963 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 963 Bytes

text-formatter.js

Description

Simple text formatter tooltip for web editors

Quickstart

Download the files and copy text-formatter.min.js, text-formatter.min.css from dist folder into your project source folder. Then you can add following to your <head></head> in your HTML file:

<script src="text-formatter.min.js" charset="utf-8"></script>
<link href="text-formatter.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

Set contenteditable="true" property to your element (e.g. <div contenteditable="true">) which should be editable and showing the tooltip.

Screenshots and Demo

alt text

Demo Site

Authors

  • Daniel Däschle

License

Code released under the MIT License.