プロジェクト

全般

プロフィール

Feature #1097

完了

Banner and Issue Template cant normal work with CKeditor

ZuoFeng Zhang さんが11年以上前に追加. 約10年前に更新.

ステータス:
終了(Closed)
優先度:
通常(Normal)
担当者:
対象バージョン:
開始日:
2012/08/11
期日:
進捗率:

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


関連するチケット 1 (0件未完了1件完了)

次のチケットと重複 Issue Template - Support #986: redmine_issue_template can not support the redmine_ckeditor終了(Closed)2012/03/29

操作

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 :)

Akiko Takano さんが11年以上前に更新

  • 対象バージョンFuture Release から Unplanned に変更

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年以上前に更新

  • ステータス担当(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.

Akiko Takano さんが約10年前に更新

  • 対象バージョンUnplanned から ver0.0.7 に変更

他の形式にエクスポート: Atom PDF