Questions tagged [ngx-editor]

Ngx-Editor is a Simple WYSIWYG editor for Angular 5+ Applications

Ngx-Editor is a Simple WYSIWYG editor for Angular 5+ Applications

28 questions
4
votes
8 answers

Set custom height for Ngx Editor

I am using ngx-editor for creating wysiwyg editor for my MEAN stack application. Everything is working fine but I want to set height for this editor. I have tried to set height in the css file for the component like .ngx-editor[_ngcontent-c4]…
NewUser
  • 12,713
  • 39
  • 142
  • 236
3
votes
1 answer

How to disable image pasting in ngx-editor?

I was trying to use ngx-editor for rich text editor but I want to disable the property of pasting images in the editor. Although I have removed the insert image button from the toolbar it is still pasting the images in the editor. Link to ngx-editor…
2
votes
0 answers

ngx-editor error after installing and then starting dev server

I wanted to use ngx-editor package in my project, So I installed it and then after doing ng serve getting below errors. ERROR in ./node_modules/ngx-editor/fesm2015/ngx-editor.mjs 215:43-57 Can't import the named export 'ApplicationRef' from non…
Mukesh Maurya
  • 340
  • 4
  • 16
1
vote
0 answers

Prevent line break in ngx-editor

I have added one more button in ngx-editor-menu for having emoji feature as well. But whenever I am adding emoji in text, it comes in new line. I am not able to find any way to add in the same line. In fact I want to make this editor as a input box…
techguy
  • 21
  • 3
1
vote
0 answers

Add styling to

"Image material
1
vote
1 answer

How to escape HTML character in angularjs. I have read using ng-blind / ng-sanitize to escape Html, but not able to implement it

I am new to Angular Js. I have used ngx-editor to make text-area with different formatting Styles. When I am submitting the content I am getting HTML tags along with it. I know these tags are coming whenever I type content in the text-area and use…
1
vote
1 answer

How Can I Use Style In The Div Content On ngx-editor

I'm use the latest version of 'ngx-editor' in my Angular App, but when I use inline style in the div of content, it's not showing correctly. I mean, ngx-editor remove that style in the wysiwyg editor. I've been try with this example…
Titus Sutio Fanpula
  • 3,467
  • 4
  • 14
  • 33
1
vote
1 answer

How to set the border to red when ng-invalid and ng-touched on ngx-editor

I have a form that includes an app-ngx-editor, I think I have everything working except for when the user tabs/clicks out of the editor without setting a value. My input box works correctly, when you tab/click out of it, the border on the box goes…
Craig
  • 25
  • 4
1
vote
2 answers

angular6 - ngx-editor icons do not appear on production

I am developing an angular6 app. I am using ngx-editor. The editor seems to work fine in localhost, but when I deploy it in firebase the icons don't appear at all. What could be the reason? Please let me know if you need any more details. TIA.
Dhanashree
  • 235
  • 1
  • 3
  • 20
1
vote
1 answer

ngx-editor with font-awesome 5+

Some of the buttons on the toolbar has invalid icons when using the latest version of font-awesome 5.3. Anyone has a good workaround until ngx-editor supports 5.3? "image"-button: fa-picture-o has been replaced with fa-image "unlink"-button:…
Marius
  • 199
  • 9
1
vote
4 answers

Is there a way to get text from the ngx-editor?

I am aware that HTML can be retrieved using [(ngModel)]="htmlContent", but is it possible to get just the text? Thanks. Example: This text is bold. This is italics html content: This text is bold.This is italics text content: This text…
dasfdsa
  • 7,102
  • 8
  • 51
  • 93
1
vote
1 answer

Ngx-editor "Choose Imagen"

I have installed ngx-editor, but when trying to upload an image it does not leave me and gives an error, both with "jpg" and with "png". They are files from my local computer, and they are small in size. From what I see in the official example, it…
Jose
  • 1,779
  • 4
  • 26
  • 50
0
votes
0 answers

Implementing ngx-editor on mat-table-cell Angular

I used ngx-editor on one component of my project in order to edit some data that needs to be saved. And then to be shown on a table (mat-table) When showing this data on a table it is show like this: How could I fix this in order to show the…
aladdin hammodi
  • 21
  • 1
  • 10
0
votes
0 answers

ngx-editor - custom button supporting tag

I saw plugins and schema in the documentation (https://sibiraj-s.github.io/ngx-editor/en/introduction/) but I don't really understand how to add my own button to the toolbar. If can't be done, maybe a div with a class? My implementation in Angular…
JanuszFrontEnd'u
  • 451
  • 6
  • 14
0
votes
0 answers

prevent converting special characters to html entities ngx-editor

i am using some mathml tags inside the ngx-editor like this 25 as you see there are some special characters inside mathml codes that i dont want to convert to…
1
2