プロジェクト

全般

プロフィール

Support #986

完了

redmine_issue_template can not support the redmine_ckeditor

Steven Wong さんが約12年前に追加. 約11年前に更新.

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

70%

予定工数:

説明

redmine_issue_template is nice plugin.
But unfortunately, it can not support the redmine_ckeditor, anyone can tell me how to fix it? Thanks.


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

次のチケットが重複 Issue Template - Feature #1097: Banner and Issue Template cant normal work with CKeditor終了(Closed)Akiko Takano2012/08/11

操作

Steven Wong さんが約12年前に更新

what I used ckeditor plugin url:
https://bitbucket.org/ebrahim/redmine_ckeditor/

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

I have not use redmine_ckeditor but it would be nice for user who doesn't use to wiki formatting:)

Steven Wong は書きました:

what I used ckeditor plugin url:
https://bitbucket.org/ebrahim/redmine_ckeditor/

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

  • ステータス新規(New) から 解決(Resolved) に変更
  • 進捗率0 から 70 に変更

Hello.
Please let me know your Redmine version.

I've added some workaround code for CKEditor.
In case you use Redmine 1.4.x, please try Redmine Issue Template support_0.0.2 branch.

  1. Go to https://bitbucket.org/akiko_pusu/redmine_issue_templates/downloads
  2. Download zip from support_0.0.2 or clone and hg update to support_0.0.2.

In case you use Redmine2.x, please try default branch.

Steven Wong さんが11年以上前に更新

@Akiko Takano Takano

Thanks so much.

I will test it on my Environment later.

Steven Wong さんが11年以上前に更新

it seems not solve the problem absolutely.

Now I can use the plugin with redmine_ckeditor, but I found I can not create new issue template in projects. I'm not very sure why it happened.

my environment is as follows:

Environment:
  Redmine version                          2.1.5.stable.11055
  Ruby version                             1.9.3 (i686-linux)
  Rails version                            3.2.8
  Environment                              production
  Database adapter                         Mysql2
Redmine plugins:
  no plugin installed

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

  • ステータス解決(Resolved) から フィードバック(Reopend) に変更

Thank you for your trial and feedback.
I confirmed above defect, it seems CKEditor is disabled and not shown when creating new template, is that right?

This is because preview link is removed when CKEditor overwrites some elements.
Maybe this patch is effective and I'm going to apply this default branch and support_0.0.2 branch.


--- a/app/views/issue_templates/new.html.erb
+++ b/app/views/issue_templates/new.html.erb
@@ -18,13 +18,13 @@
      :class => nil, :multipart => false } do |f| %>

   <%= render :partial => 'form', :locals => { :f => f } %>
+  <div id="preview" class="wiki"></div>
+      <%= submit_tag l(:button_create) %>
+  <% end %>
   <%= preview_link url_for(:controller => 'issue_templates', :action => 'preview',
                            :id => @issue_template),
                    'issue_template_description', target='preview' %> |
   <%= link_to l(:button_cancel), {:action => 'index'}, :data => {:confirm => l(:text_are_you_sure)} %>
-  <div id="preview" class="wiki"></div>
-      <%= submit_tag l(:button_create) %>
-  <% end %>
 </div>
 <% end %>

Steven Wong さんが11年以上前に更新

@Akiko Takano Takano
Thanks for your reply.

I tried the plugin with redmine_ckeditor and found I can not create new issue template for the page without new issue template button? my operation steps as follows:
  1. install the redmine_issue_template and redmine_ckeditor
  2. start redmine
  3. config the plugin to use ckeditor and issue_template in the project;
  4. in the issue_template TAB, I can not find where can I add new issue template. in another way, I can not apply the issue template what I have saved.

I used redmine_issue_template, and in project, I can add new issue template, but with redmine_ckeditor, I can not found where can I add new issue_template. Could you give me some more information about the problem?

Thanks so much.

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

Steven Wong wrote:

I used redmine_issue_template, and in project, I can add new issue template, but with redmine_ckeditor, I can not found where can I add new issue_template. Could you give me some more information about the problem?

Ok, please wait for a while.
CKEditor is quite useful for redmine beginners, of cource for me, so I'm sure to support this editor:)

If works fine, create new template and template list link are shown at the right sidebar of "Issue" (Index Issue) page.

Let me confirm , not only "add template" but also template list link are not shown at your environment?

Steven Wong さんが11年以上前に更新

Akiko Takano は書きました:

Steven Wong wrote:

I used redmine_issue_template, and in project, I can add new issue template, but with redmine_ckeditor, I can not found where can I add new issue_template. Could you give me some more information about the problem?

Ok, please wait for a while.
CKEditor is quite useful for redmine beginners, of cource for me, so I'm sure to support this editor:)

If works fine, create new template and template list link are shown at the right sidebar of "Issue" (Index Issue) page.

Let me confirm , not only "add template" but also template list link are not shown at your environment?

@Akiko Takano Takano
yes, that's it.
I can not add new template. And I can not view the template list on the sidebar. Maybe I should create a new environment to test them.

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

How did your situation go?

Please note someone who use templates are required permissions.

Ref:
http://www.r-labs.org/projects/issue-template/wiki/About_en#Permission-Settings

And please let me know if you can directory access to list/show/create template page like this:

Steven Wong は書きました:

Akiko Takano は書きました:

Steven Wong wrote:

I used redmine_issue_template, and in project, I can add new issue template, but with redmine_ckeditor, I can not found where can I add new issue_template. Could you give me some more information about the problem?

Ok, please wait for a while.
CKEditor is quite useful for redmine beginners, of cource for me, so I'm sure to support this editor:)

If works fine, create new template and template list link are shown at the right sidebar of "Issue" (Index Issue) page.

Let me confirm , not only "add template" but also template list link are not shown at your environment?

@Akiko Takano Takano
yes, that's it.
I can not add new template. And I can not view the template list on the sidebar. Maybe I should create a new environment to test them.

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

  • ステータスフィードバック(Reopend) から 終了(Closed) に変更

Please re-open if you still have problem.

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