Questions tagged [textangular]

Text-Editor/Wysiwyg editor for AngularJS

A Text-Editor/Wysiwyg editor for Angular.js. Create multiple editor instances, two-way-bind HTML content, watch editors for changes and more!

Features:

  • Automatic Seamless Two-Way-Binding
  • Super Easy Theming Options
  • Simple Editor Instance Creation
  • Safely Parses Html for Custom Toolbar Icons
  • Doesn't Use an iFrame Works with Firefox, Chrome, and IE8+

Resources

86 questions
2
votes
0 answers

How to fit text 100% in textangular by default

when i copy and paste text in textangular editor, it's look like this in the editor.(you can observe in the right side of the pic) How to fit the text 100% in textangular editor by default. HTML:
Ajay
  • 307
  • 4
  • 14
2
votes
0 answers

when i copy and Paste text it in text-angular getting issue

Text contains info includes bold,italic and etc., when i copy text(it includes double quotes like:"hey hi") and paste it in text-angular,while displaying text is fine.in console i can double-quotes in place of ".This " created as hashtag. when…
Shiva
  • 358
  • 2
  • 15
2
votes
0 answers

How to fit image 100% in textangular by default

Initially when I drag an image into text area, it looks like this: When I select 100% through my options, it fits to the frame like below: What I want: when I drag and drop my image, it fits to 100% width by default, as showed in image 2. I am…
Daniel
  • 1,939
  • 3
  • 11
  • 18
2
votes
1 answer

How can I enable RTL(Right to Left) in textAngular editor?

I'm using textAngular as text editor in one of my projects. We have to support Hebrew and hence we have to enable RTL by default for Hebrew users. Is there any configuration settings in textAngular for that ? I know I can do that by directly…
Aromal Pillai
  • 87
  • 1
  • 9
2
votes
0 answers

How to insert HTML in focussed textAngular element?

I have multiple textAngular fields in same page with common toolbar and I have created a directive to auto insert some text in textAngular field at current caret position. Now the problem is I can insert the code when there is only one textAngular…
Himanshu Mittal
  • 794
  • 6
  • 19
2
votes
1 answer

TextAngular tab to leave field

I am using http://textangular.com/ but I need the tab to quickly move to the next field. Currently when the user presses tab it stays in the textangular field. How can I make the cursor move to the next field when tab is pressed? See punker here .…
tfa
  • 1,643
  • 16
  • 18
2
votes
1 answer

textAngular.js with requireJS gives saveSelection error after change

Does anyone able to get textAngular.js with RequireJS(even if someone has working example I will replicate the settings)? I am able to load editor but when applying h1 tags I get $window.rangy.saveSelection is not a function on textAngular.js file…
user1269989
  • 117
  • 1
  • 5
2
votes
0 answers

Textangular: adding dropdown to toolbar

I'm using Textangular 1.4.6 and Angular 1.4.7. I need to add a drop down to the toolbar, so i wrote this code: $provide.decorator('taOptions', [ 'taRegisterTool', '$delegate', function (taRegisterTool, taOptions)…
Tomer
  • 17,787
  • 15
  • 78
  • 137
2
votes
4 answers

Error initializing Rangy.js in Internet Explorer

I'm working on an angular app that uses textAngular, which depends on rangy-core and rangy-selectionsaverestore. I'm having the following errors with the latest IE: Module 'WrappedSelection' failed to load: Unspecified error. Error: Unspecified…
2
votes
1 answer

textAngular links from modal dialog sets variable but doesn't apply it to DOM

Using the textAngular plugin, I'm unable to apply to the DOM a newly set variable. I'm implementing a angular bootstrap UI modal, and I can see the variable is set correctly so the issue appears to be with…
greener
  • 4,989
  • 13
  • 52
  • 93
2
votes
1 answer

TextAngular custom toolbar button onElementSelect not working for table/tr/td

I have implemented a custom button that allows a user to add a table to the editor, which works fine. However, I can't seem to get the onElementSelect to fire when clicking in the newly added table. The goal is that when a user clicks on a table,…
mikeagoff
  • 376
  • 2
  • 12
1
vote
0 answers

Dynamically add and initialise multiple text editors using textAngular

I'm currently trying to dynamically add a new textAngular when clicking on the "Add" button. As the first textAngular element is already present in the HTML page, the initialisation works fine using wysiwyg function and I'm able to use the toolbar…
noyttra
  • 53
  • 3
1
vote
1 answer

How to remove auto generated

tag inside text-angular?

I am trying to use text-angular but after every line changes it will auto-generate new tag for every new line.
1
vote
0 answers

Can i get applied style Object of editor-text in textangular

i want to save textangular editor's text with styles and tags (applied by its toolbar) in DB. Is there a way i can do this without saving HTML ? Currently i am saving html with decoding.
khateeb
  • 163
  • 6
1
vote
2 answers

Not able to get textAngular's model value

I have use text-Angular.js for making my div as RTE and bind the data somewhere. Here is the code
Get Text
and…