Opened 8 years ago
Closed 8 years ago
#12819 closed defect (fixed)
Conflicts with ReadmePlugin - preventing markdown files from being rendered in source browser
Reported by: | Edmund NI | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | ReadmePlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.0 |
Description
- Trac version 1.0
- TracWysiwygPlugin version 0.12
- ReadmePlugin 0.1
When TracWysiwygPlugin is enabled ReadmePlugin will not render *.md files in source browser (attachment:wysiwyg-enabled_markdown-not-rendered.png).
When TracWysiwygPlugin is disabled the same *.md file is correctly rendered (attachment:wysiwyg-disabled_markdown-rendered.png).
Attachments (2)
Change History (7)
Changed 8 years ago by
Attachment: | wysiwyg-enabled_markdown-not-rendered.png added |
---|
Changed 8 years ago by
Attachment: | wysiwyg-disabled_markdown-rendered.png added |
---|
TracWysiwygPlugin disabled and markdown file rendered
comment:1 Changed 8 years ago by
Please post trac.log and javascript console after enabling TracLogging and reproducing it.
comment:2 Changed 8 years ago by
Component: | TracWysiwygPlugin → ReadmePlugin |
---|---|
Owner: | changed from Jun Omae to Southen |
I get the following error on javascript console.
ReferenceError: jQuery is not defined
ReadmePlugin conflicts with any plugins which use add_script_data()
. That is a ReadmePlugin issue, not TracWysiwygPlugin.
<script type="text/javascript"> var _tracwysiwyg={}; </script><script type="text/javascript">jQuery(document).ready(function($) { $('#preview').each(function() { $(this).html(marked( $(this).children('pre').first().text() )); });});</script>
comment:3 Changed 8 years ago by
Owner: | changed from Southen to Ryan J Ollos |
---|---|
Status: | new → accepted |
comment:4 Changed 8 years ago by
I think it should be fixed by b38a6e24. Make sure to install from the source available in the trac-hacks org on GitHub.
comment:5 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
TracWysiwygPlugin enabled and markdown file not rendered