Questions tagged [redactor.js]

Redactor.js is a WYSIWYG html editor.

About

Redactor is a javascript program that helps you to create word-processed texts on the web. Redactor uses the jQuery library.

Links

53 questions
25
votes
3 answers

Redactor editor text format issues with Chrome version 58

We're using Redactor(https://imperavi.com/redactor/) version 10.1.1 and not migrated to Redactor II due to lot of dependencies on project. Recently We're facing a very weird issue with Chrome version 58. Issues are: -- Not able to format bold,…
Sandeep
  • 1,028
  • 2
  • 13
  • 25
8
votes
3 answers

Multiple instance of Redactor editor in one page is not working

Im using "redactor" (http://imperavi.com/redactor) as my HTML editor. When there are multiple editor in one page, this is working perfectly if I initialize using each editor using its ID. But when I initialize using its class, the first one only…
user2609021
  • 681
  • 2
  • 11
  • 30
6
votes
3 answers

Disable Whole Redactor.js WYSIWYG Editor

Like you can disable a component, I would like to disable a redactor editor, but still display it on my page. I would expect Redactor to read the disabled attribute on the textarea I am initializing, and disable the…
Lea
  • 602
  • 9
  • 20
4
votes
2 answers

Redactor: blur event causing errors

I am using redactor for a text editor on a laravel project. Whenever the editor is on the page, and is initialized, I get this error whenever I click anywhere. Uncaught TypeError: $(...).closest(...).size is not a function(…) Uncaught TypeError:…
Damon
  • 4,151
  • 13
  • 52
  • 108
3
votes
1 answer

How to enable in Yii2 WYSIWYG redactor full html support (html,head,body, meta tags etc...)?

Is there a chance in Yii2 redactor to use full html support including html, head, body, meta tags etc.? Or, maybe, there is another WYSIWYG editor which allow those tags?
Mikel Anniuk
  • 551
  • 5
  • 9
3
votes
3 answers

Can I customise the header tags(h1,h2,h3...) in redactor editor?

I've used the plugins of redactor editor to change the font size and font color of text. It's working fine in other tags except the header. Don't understand why.. I've tried this $('#redactor').redactor({ focus: true, plugins: ['fontcolor',…
Codegiant
  • 2,110
  • 1
  • 22
  • 31
3
votes
0 answers

Redactor adding unnecessary tags while editing font families to text in editor

I am using redactor 9.2.6 and so far it worked fine. But now I came up with really annoying issues with redactor. I have added a font-family plugin which I found here Font-Family After that when I try to select text inside editor and then change the…
Yunus Aslam
  • 2,447
  • 4
  • 25
  • 39
3
votes
1 answer

How to : redactor.js imageUpload Post Extra parameters

I am using this awesome editor, but I have no idea how to pass extra parameters with imageUpload and clipboardUpload. I would like to be able to post extra params when the user past an image into the editor $el.redactor({ imageUpload:…
Nerdroid
  • 13,398
  • 5
  • 58
  • 69
2
votes
1 answer

Tags / placeholder in WYSIWYG (Redactor)

I am working on a mail system to send mass emails. I made a plugin for redactor which adds a tag to eg. first name. These tags should not be edited by the user, only deleted. My problem is that every time I get the code with this.code.get (), its…
Thomas Bolander
  • 3,892
  • 3
  • 22
  • 30
2
votes
0 answers

How to embed custom atoms(tweets/video/fb post) inside redactor editor

I have redactor 10, want to achieve following functionality using redactor plugin:- User can insert atoms(tweets/video/fb post) inside redactor editor by clicking on some link. What i want is I should only insert a custom html tag for atom inside…
pankaj
  • 474
  • 5
  • 15
2
votes
1 answer

Redactor - input elements in "insert link" dialog cannot get focus

I am trying to do something similar to what this page is doing. The only difference is that the jQuery UI dialog I use is modal. I tried editing the script in the page to make the jQuery UI dialog modal. $("#dialog-modal").dialog( { modal: true,…
developarvin
  • 4,940
  • 12
  • 54
  • 100
1
vote
3 answers

Upload Files to ASP.NET Core. Array is always empty

I have the following Asp.Net Core 5 controller to upload files: [HttpPost("files")] public virtual async Task Upload(IFormFile[] files) { } The files are being uploaded from a Javascript library ... I checked the browser console and…
Miguel Moura
  • 36,732
  • 85
  • 259
  • 481
1
vote
0 answers

How can i add custom shortcodes in Redactor

Is there any way to add custom short codes in "imperavi Redactor" ? for example user has a list of short codes in a dropdown and user select from there and it will get added in the text area.
Amad khan
  • 11
  • 1
1
vote
1 answer

In Redactor WYSIWYG editor, how can I add a
tag?

This question applies to both Redactor 2 and 3. I'm searching for a way to add or edit
,
and
tags. Does anyone know of a way to do this out of the box, or with a plugin?
Paul
  • 336
  • 1
  • 3
  • 11
1
vote
1 answer

how to get value from redactor editor using jquery

I am using redactor editor in one of my websites. It is getting all the stuff like images, videos etc. But when I am trying to get textarea value and show it on console, it only shows texts there not the embedded code of video or etc. The html code…
Aditya Sharma
  • 43
  • 2
  • 10
1
2 3 4