textangular

TypeError: g.rangy.saveSelection is not a function using textangular + rangy + browserify

ぃ、小莉子 提交于 2019-12-24 12:26:24
问题 I am trying to implement textAngular into my Angular.js project that is packaged using browserify . I installed rangy and textAngular via npm . They are included like this: global.rangy = require('rangy'); require('angular-sanitize'); require('textangular'); When compiling the package with browserify via gulp , no errors are shown. However, as soon as I click on a button in the toolbar of the editor, I get the following error: TypeError: g.rangy.saveSelection is not a function at Scope.m

TextAngular fileDropHandler documentation

点点圈 提交于 2019-12-10 03:08:56
问题 We have just upgraded our textangular to 1.2.2, as this now supports drag and drop. have seen defaultFileDropHandler within the textAngualrSetup, how ever, struggling to find any documentation to support this or how to use it. defaultFileDropHandler: /* istanbul ignore next: untestable image processing */ function (file, insertAction) { debugger; var reader = new FileReader(); if(file.type.substring(0, 5) === 'image'){ reader.onload = function() { if(reader.result !== '') insertAction(

TextAngular fileDropHandler documentation

喜你入骨 提交于 2019-12-05 03:06:20
We have just upgraded our textangular to 1.2.2, as this now supports drag and drop. have seen defaultFileDropHandler within the textAngualrSetup, how ever, struggling to find any documentation to support this or how to use it. defaultFileDropHandler: /* istanbul ignore next: untestable image processing */ function (file, insertAction) { debugger; var reader = new FileReader(); if(file.type.substring(0, 5) === 'image'){ reader.onload = function() { if(reader.result !== '') insertAction('insertImage', reader.result, true); }; reader.readAsDataURL(file); return true; } return false; } Basically,

Rich Text Editor for AngularJS [closed]

不想你离开。 提交于 2019-12-03 00:53:37
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I use TextAngular which sucks to the core! Anybody using it would know. My users complain every single day :( I'm looking at alternatives and found some such as Froala ($199) & CKEditor but they require JQuery. Is there any "good" editor for AngularJS without JQuery that works? I have been searching but couldn't

Rich Text Editor for AngularJS [closed]

最后都变了- 提交于 2019-12-02 14:17:56
I use TextAngular which sucks to the core! Anybody using it would know. My users complain every single day :( I'm looking at alternatives and found some such as Froala ($199) & CKEditor but they require JQuery. Is there any "good" editor for AngularJS without JQuery that works? I have been searching but couldn't find any. I'm willing to pay too. You have a lot of options. But if you don't like it, just write a new editor and share it with us :) Angular-Editor -> Demo Angular Meditor -> Demo Angular trix -> Demo ngQuill -> using QuillJs Angular-inline-text-editor -> Demo You can create a new