kenshin54/popline
kenshin54/popline has 1,054 GitHub stars and 136 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-09 11:28 UTC. Last push 2025-08-12.
Popline is an HTML5 Rich-Text-Editor Toolbar
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalpopline
Popline is a non-intrusive WYSIWYG editor that shows up only after selecting a piece of text on the page, inspired by popclip.
Usage
Load jQuery and popline:
<script type="text/javascript" src="../scripts/jquery.min.js"></script>
<script type="text/javascript" src="../scripts/jquery.popline.min.js"></script>
Or Load the popline plugins which you want:
<script type="text/javascript" src="../scripts/jquery.popline.js"></script>
<script type="text/javascript" src="../scripts/plugins/jquery.popline.link.js"></script>
<script type="text/javascript" src="../scripts/plugins/jquery.popline.decoration.js"></script>
...
Load font-awesome and popline theme:
<link rel="stylesheet" type="text/css" href="../font-awesome/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="../themes/default.css" />
Add a editable div to page:
<div class='editor' contenteditable='true'></div>
Initialize you popline for you editor:
$(".editor").popline();
View Mode
Popline also support View Mode, you can send a twitter, a facebook message, pin an image to pinterest, search with google in View Mode
$(".editor").popline({mode: 'view'});
Popup Position
Popline can popup at top of the paragraph which you selected (like Medium) or popup on the mouse pointer position.
$(".editor").popline({position: 'fixed'});
$(".editor").popline({position: 'relative'});
The default option is 'fixed'.
Enable / Disable / Reorder plugins
You can enable/disable/reorder plugins when popline initialize.
$(".editor").popline({enable: ["link", ["justify", ["justifyCenter", "indent"]] , "orderedList", "unOrderedList"]});
$(".editor").popline({disable: ["link", "blockquote"]});
Extension
Todo
Theme customize
default

popclip

Hack the theme css and create yours.
Example
http://kenshin54.github.io/popline/
Compatibility
Tested on Chrome 27.0+, Safari 6.0.4+, Firefox 21.0+, Opera 15.0+, IE 8+
Sponsorer
A Sepcial thanks to Artlogic's sponsor for IE8+ browsers compatibility support.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
License
Copyright (c) 2014 kenshin54. Distributed under the MIT License. See LICENSE.txt for further details.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,398 starspublic-apis/public-apis
A collective list of free APIs
497,679 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
447,495 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,261 stars