tag1consulting / ckeditor_comment Goto Github PK
View Code? Open in Web Editor NEWCKEditor Inline Commenting
CKEditor Inline Commenting
(Usnig Rangy master)
Console: Uncaught TypeError: selection.trim is not a function
editor.widgets.add('comment', {
defaults: function () {
var selection = rangy.getSelection(editor.document.$);
// Attempt to expand word if possible.
if (selection.isCollapsed) {
selection.expand('word');
selection.refresh();
}
selection.trim();
return {
content: selection.toHtml()
};
},
We are adding editorial tools to our Drupal backoffice and (by chance) one of our developers found ckeditor_comments on github. Quickly we tested it, with last ckeditor version, and it works like a charm. However, after looking the code a bit closer, we saw that some features doesn't work while other aren't even coded.
So, I'm wondering if there is a more completed version of this module somewhere or you suspended the development of it for some reason (as I suspect). If this is the case (as I suspect), maybe some guidelines about how to end it or any other documentation about how it was initially designed would be fine!
I am using CKEditor 4.x version and didnt see any toolbar buttons to verify this plugin works for me. Could you help me here.
Do you have time to create webjar to easily inlcude this in my project
I tried to cancel the comment and gets stucked and repeat the words that I tried to comment.
And when I try to write on the popup it's gets stucked too and write very slow
I let a video that shows what is happening
nimbus-video.webm.zip
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.