Feature #1097
完了Banner and Issue Template cant normal work with CKeditor
100%
説明
Redmine 1.4.4. and use normal ror config
installed a text editor ,the name is CKeditor ,the web site is
https://github.com/a-ono/redmine_ckeditor owner maybe is a japanese name Akihiro Ono
Problem1
in ckeditor mode, banner cant config project banner ,cant save banner info,but redmine banner work is OK, go to admin account config use textile mode ,all ok
Problem2
in ckeditor mode, cant use issus template, first i crate a name is AAA template is OK,but i new create a issue and use AAA template ,no show the template, go to admin account config use textile mode ,all ok
Plaese check the
Akiko Takano さんが11年以上前に更新
- トラッカー を Defect から Feature に変更
- 担当者 を Akiko Takano にセット
- 対象バージョン を Future Release にセット
Sorry my reply so late...
And thank you so much your information about CKEditor and author.
So I've received the same request, such as #986, that I'm going to try to support CKEditor.
Please wait for a while
ZuoFeng Zhang さんが11年以上前に更新
i guess maybe js function bug
Event.observe('issue_template', 'change', function(e){ load_template(e, load_url, token); },false);
$('issue_description').value = template.description
the value cant push to issue_description
ZuoFeng Zhang さんが11年以上前に更新
try this:
replace the next line
$('issue_description').value = template.description
with
CKEDITOR.instances.issue_description.setData(template.description);
now the bug is over , all is ok!
Akiko Takano さんが11年以上前に更新
- ステータス を 新規(New) から 担当(Assigned) に変更
Hello.
Thank you so much for your feedback and workaround
I'm sorry that I've not installed and reviewed CKEditor plugin yet.
It seems in case using CKEditor Redmine admin have to modify Javascript.
Do you hope this plugin works without any workaround code!!?
Akiko Takano さんが11年以上前に更新
Related issue:
https://github.com/a-ono/redmine_ckeditor/issues/33
Akiko Takano さんが11年以上前に更新
- ステータス を 担当(Assigned) から 解決(Resolved) に変更
- 進捗率 を 0 から 60 に変更
Hello, ZuoFeng Zhang.
Thank you for your information, it's quite helpful for me
As I wrote on #986, please try and give some feedback.
It seems you use Redmine1.4, so please try support_0.0.2 branch.
Here is my workaround.
$('issue_description').value = template.description; $('issue_subject').value = template.issue_title; // Add try-catch for CKEDitor. try { if (CKEDITOR.instances.issue_description) CKEDITOR.instances.issue_description.setData(template.description); } catch(e) { // do nothing. }
Akiko Takano さんが約11年前に更新
- ステータス を 解決(Resolved) から 終了(Closed) に変更
- 進捗率 を 60 から 100 に変更
Please re-open if you still have any troubles.