[jbosstools-issues] [JBoss JIRA] (JBIDE-15506) Support Asciidoctor files

Xavier Coulon (JIRA) jira-events at lists.jboss.org
Fri Oct 4 05:53:02 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-15506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12809368#comment-12809368 ] 

Xavier Coulon commented on JBIDE-15506:
---------------------------------------

[~vpakan],

you're right, I can reproduce the problem on Chrome. But as soon as the Asciidoctor add-on is disabled, the page gets refreshed as expected. It seems like those 2 extensions conflict with each other:
- the asciidoc.js add-on changes the DOM by converting the input file into an HTML file
- the LR extension *should* inject a <script> element at the bottom the <body> of the page

What seems to happen is that the LR script is not injected if the Asciidoc add-on is enable :-(

(You can track that by inspecting the page with the Chrome Dev Tools)

This problem does not occur on Firefox, though.
  
                
> Support Asciidoctor files
> -------------------------
>
>                 Key: JBIDE-15506
>                 URL: https://issues.jboss.org/browse/JBIDE-15506
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: livereload
>    Affects Versions: 4.1.0.Final
>            Reporter: Xavier Coulon
>            Assignee: Max Rydahl Andersen
>              Labels: new_and_noteworthy
>             Fix For: 4.1.1.Alpha2, 4.2.0.Alpha1
>
>
> Provide LiveReload support for Asciidoc (.adoc or .asciidoc) files in the browser.
> If the user has both LiveReload browser extension AND the new asciidoc.js preview extension (http://asciidoctor.org/news/2013/09/18/introducing-asciidoctor-js-live-preview/), then changes in a workspace file could (should) be previewed in the browser.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list