Questions tagged [redactor]

Beautiful and easy-to-use WYSIWYG html editor

From their website:

Redactor is the most fantastic yet beautiful and easy-to-use WYSIWYG editor on jQuery. It is lightning fast, small, scalable, and powerful.

You can easily make your web project much more attractive for your customers and visitors by implementing the Redactor as your default text-editor.

You can upload files and images using drag-n-drop, set up autosave, develop your own plugins and extensions.

Documentation: http://imperavi.com/redactor/docs/

271 questions
12
votes
2 answers

Redactor - Fixed toolbar not working on mobile

According to the Redactor docs regarding fixed toolbar settings, I can pass the toolbarFixed flag as true, and the toolbar should stay at the top of the viewport as the user scrolls down, however this isn't working on mobile. My suspicion as to why…
Mike Purcell
  • 19,847
  • 10
  • 52
  • 89
11
votes
1 answer

How can I integrate spell-checking to redactor?

How can I add spell checking to the jQuery Redactor editor? I have found a few spell checking JavaScript plugins, but none are easily integrated into Redactor. Has anyone managed to do this successfully? Using .NET, and need our own custom…
M Mc
  • 117
  • 7
10
votes
5 answers

Integration of Redactor WYSIWYG in an AngularJs directive

I try to integrate The beautifull WYSIWYG Redactor (http://imperavi.com/redactor/) in an custom AngularJS directive. Visualy it works, but my custom directive is not compatible with ng-model (and I don't understand why) This is how you can use my…
MyBoon
  • 1,290
  • 1
  • 10
  • 18
9
votes
3 answers

Textarea editor Redactor. Insert value with jQuery

Have field textarea id="tr" using HTML editor Redactor last version trying to set value of the field exactly haw it is described in API Doc : $('#tr').redactor('insertText', 'text'); or $('#tr').redactor('insertHtml', 'text'); What am I doing…
abiku
  • 2,236
  • 3
  • 25
  • 30
8
votes
2 answers

How to disable or remove Yii2 redactor Image and file button?

I am using Yii2 Redactor from Here. I want to remove Image and File Upload. view Code : field($model, 'reason')->widget( \yii\redactor\widgets\Redactor::className(), []) ?> Screenshot
Kakul Sarma
  • 303
  • 1
  • 4
  • 21
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
7
votes
2 answers

How to bind posted data named "file[]" to an MVC model?

I am using Redactor as an HTML editor, which has a component for uploading images and files. Redactor takes care of the client side bit, and I need to provide the server side upload functionality. I have no problem getting the uploads to work if I…
Martin Hansen Lennox
  • 2,837
  • 2
  • 23
  • 64
7
votes
3 answers

How to disable redactor tooltip entirely?

In redactor when I hover over toolbar buttons, tooltips fly over from left top to the place where toolbar button is placed. This odd behavior makes this tooltip pretty ugly and want to disable it. This link describes disabling inline tooltip, but…
Alireza
  • 6,497
  • 13
  • 59
  • 132
7
votes
2 answers

Spell Checking With Redactor On Heroku

I am trying to implement spell check in Redactor in a RoR application running on Heroku (Cedar stack). The answer outlined in this SO question doesn't work for me because it requires being able to run PHP on my local server, which does not seem…
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
6
votes
2 answers

Subscribe to callbacks on a plugin for redactor.js

I want to create a plugin for the redactor.js WYSIWYG editor, but I cannot find the way to subscribe to redactor callbacks from my plugin. I need to use keydownCallback and autosaveCallback. RedactorPlugins.myPlugin = { init: function() { …
RogerRtx
  • 61
  • 2
5
votes
0 answers

How to add classes or styles to inline elements via Redactor-API

I can't figure out how you to use Redactors this.inline. I want to add a class to a anchor element. Suppose my cursor is inside the anchor and I do this.inline.toggleClass('foo') it will add a span inside the anchor with class foo. If I select the…
schneikai
  • 289
  • 1
  • 10
5
votes
3 answers

Capybara, Selenium and Redactor Rich Text Editor

I've run into an interesting problem with Capybara and Selenium. I have some Capybara request specs which require javascript to be enabled while a form is being completed. One of the forms is a textarea which used the Redactor Rich Text Editor. …
cman77
  • 1,753
  • 1
  • 22
  • 48
5
votes
1 answer

redactor rails and carrierwave - picture sizes

I'm using redactor_rails gem with carrierwave. There's two places where I need text editor with picture upload, and I want to make different picture size for every editor. If I use version then I have two sizes for every picture and I dont know how…
konclave
  • 648
  • 1
  • 7
  • 19
5
votes
2 answers

Remove buttons from redactor wysiwyg

This is my code: http://jsfiddle.net/KfVJK/ This is the code to add redactor: $(document).ready( function() { $('#redactor_content').redactor(); } );​ I want to limit the number of buttons…
Jimmy
  • 12,087
  • 28
  • 102
  • 192
1
2 3
18 19