[jbosstools-issues] [JBoss JIRA] (JBIDE-9872) Html editor should be able to show html files even though they don't end in .html
Viacheslav Kabanovich (Commented) (JIRA)
jira-events at lists.jboss.org
Wed Oct 12 16:20:16 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-9872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634307#comment-12634307 ]
Viacheslav Kabanovich commented on JBIDE-9872:
----------------------------------------------
It seems that content type or file association can only be registered for concrete file names and file extensions. Value in 'file-names' or 'file-extensions' cannot be a pattern, unfortunately. So if there are 1000 possible extensions for our editor, we have to compose comma separated list with all of them.
> Html editor should be able to show html files even though they don't end in .html
> ---------------------------------------------------------------------------------
>
> Key: JBIDE-9872
> URL: https://issues.jboss.org/browse/JBIDE-9872
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: Visual Page Editor core
> Reporter: Max Rydahl Andersen
> Assignee: Yahor Radtsevich
> Fix For: 3.3.0.M4, 3.3.0.Beta1
>
>
> take a working index.html and rename it to index.php and suddenly the editor don't want to show it complaining about non matching content type.
> rename back to .html and it works fine.
> Can't we make the editor accept content without having it registered as supporter of the identified content type?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list