redmine_wysiwyg_editor
redmine_wysiwyg_editor copied to clipboard
Preview is not working with Redmine Mentions plugin
When editing or adding new ticket, preview option is not working
@taqueci
Hi @Jamalc0m
Please tell me:
- Steps to reproduce
- Redmine version
- Installed plugins
- Plugin versions
- Browser version
- Console messages of development tool
Create new ticket
Type your description
Click preview
Nothing There!
Browser Chrome - Firefox
Installed plugins & Versions:
Console messages of development tool No error reported!
Note: Normal editor which comes with redmine working fine with no issue.
Note to self: The plugin conflicts with Redmine Mentions plugin. Dockerfile.zip
any work around to fix ?
same problem. we have Mentions plugin installed and preview is not working. Any fix?
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. nice workaround
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?