You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I Click Insert in the Insert table dialog box, I get the following error in the developer tools console.
Uncaught TypeError: this.clean.cleanEmptyParagraph is not a functioninsert @
table-adf5bb1b75d1a60881de57550cc6686f.js?body=1:59jQuery.event.dispatch @
jquery-6a50177757f6c64493882fb7aae952c3.js?body=1:4642elemData.handle @
jquery-6a50177757f6c64493882fb7aae952c3.js?body=1:4310
The insert table dialog box remains open and nothing happens.
Why isn't the table getting inserted?
Kindly help.
This is my config.js
window.init_redactor = function(){
var csrf_token = $('meta[name=csrf-token]').attr('content');
var csrf_param = $('meta[name=csrf-param]').attr('content');
var params;
if (csrf_param !== undefined && csrf_token !== undefined) {
params = csrf_param + "=" + encodeURIComponent(csrf_token);
}
$('.redactor').redactor({
// You can specify, which ones plugins you need.
// If you want to use plugins, you have add plugins to your
// application.js and application.css files and uncomment the line below:
// "plugins": ['fontsize', 'fontcolor', 'fontfamily', 'fullscreen', 'textdirection', 'clips'],
focus: true,
"buttons": ['html', 'formatting', 'bold', 'italic', 'deleted',
'unorderedlist', 'orderedlist','alignment', 'outdent', 'indent', 'image',
'video', 'link', 'table', 'horizontalrule'],
"formatting": ['p', 'h1', 'h2', 'h3', 'h4', 'h5'],
"plugins": ['fullscreen','video','table'],
"imageUpload":"/redactor_rails/pictures?" + params,
"imageGetJson":"/redactor_rails/pictures",
// "fileUpload":"/redactor_rails/documents?" + params,
// "fileGetJson":"/redactor_rails/documents",
"path":"/assets/redactor-rails",
"css":"style.css"
});
}
$(document).on( 'ready page:load', window.init_redactor );
Which version of redactor are you using ? I tried to add the table plugin on a redactor 10.2.3 and i was able to do so by modifiying the plugin a bit. If you want me to give you my js file just say so ;)
Hi,
I am not able to add tables.
When I Click Insert in the Insert table dialog box, I get the following error in the developer tools console.
The insert table dialog box remains open and nothing happens.
Why isn't the table getting inserted?
Kindly help.
This is my config.js
My application.js
I have the following files in the redactor-rails folder
config.js
table.js
video.js
Downloaded table.js , video.js from http://imperavi.com/redactor/plugins/
The text was updated successfully, but these errors were encountered: