Ticket #768 (new defect)
Opened 8 years ago
ckeditor not instanciating because of js error
Reported by: | vertacoo | Owned by: | jcdubacq |
---|---|---|---|
Priority: | normal | Component: | plugin:dctranslations |
Severity: | critical | Keywords: | editor js error jsToolBar |
Cc: |
Description
The advanced ckeditor doesn't instantiate properly when opening a translation area. The fields appear, but the two text fields don't get decorated by ckeditor which prevents from inserting images etc. in translations.
The console error says : TypeError?: jsToolBar is not a constructor
function decorate(i,formatField) { excerpt = new jsToolBar(document.getElementById('post_translation_'+i+'_excerpt')); content = new jsToolBar(document.getElementById('post_translation_'+i));
The error refers to the first attempt of instanciation, on line 69 of index.php of the plugin
Dotclear : 2.8.2 (fresh install) dctranslations : 1.14 stacker : 0.5
Note: See
TracTickets for help on using
tickets.