ghinda / angular-meditor Goto Github PK
View Code? Open in Web Editor NEWSimple floating text editor for Angular, inspired by Medium.
Home Page: http://ghinda.net/angular-meditor
License: MIT License
Simple floating text editor for Angular, inspired by Medium.
Home Page: http://ghinda.net/angular-meditor
License: MIT License
It would be good if you could implement color selection for text.
Using grunt-bower-install: 0.7.0 it is unable to add it to the index.html automatically.
Message is:
angular-meditor was not injected in your file.
Please go take a look in "app/bower_components/angular-meditor" for the file you need, then manually include it in your file.
Will post solution if I find it.
Hi!
Could you kindly explain me this code line?
Line 262
document.addEventListener('mouseup', debounce(checkSelection, 200));
As I test this line launchs checkSelection over all meditor tags on each document click.
Should not be better link mouseup to content var?
$content.on('mouseup', debounce(checkSelection, 200));
With this, you are sure that's checkSelection is launched only if the mouseup is done inside content section
Thanks!
Do you have an example of how to save or use ng-model. I would like to render some html content have the user do live edits and once the editing is done save the new data. This seems like something you have already done but I do not see an example. Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.