-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preview is not working with Redmine Mentions plugin #82
Comments
Hi @Jamalc0m Please tell me:
|
Note to self: |
any work around to fix ? |
same problem. we have Mentions plugin installed and preview is not working. |
This trouble appears only in Issue editing\creating. May be there is any option to disable wysiwig in issues, only wiki? |
Hi @etoosamoe You can hide visual editor in issue creating/editing by: --- a/app/views/redmine_wysiwyg_editor/_redmine_wysiwyg_editor_partial.html.erb
+++ b/app/views/redmine_wysiwyg_editor/_redmine_wysiwyg_editor_partial.html.erb
@@ -52,6 +52,12 @@ function initRedmineWysiwygEditor() {
$('.jstTabs, .jstElements, .jstEditor').css('visibility', 'visible');
};
+ if (<%= @issue ? 'true' : 'false' %>) {
+ setVisible();
+ $('#content .jstBlock .jstTabs ul li:not(.tab-elements)').show();
+ return;
+ }
+
var previewTab = $('.jstTabs .tab-preview');
var previewButton = $('a[accesskey=r]'); |
@taqueci thanks! it works. wysiwyg editor now disabled in issues, but works fine (with preview) in Wiki. |
I also have this problem. It would be nice to have the editor working also with preview in issues. Is there any plan to fix this incompatibility? |
When editing or adding new ticket, preview option is not working
The text was updated successfully, but these errors were encountered: