primefaces-extensions / primefaces-extensions.github.com

Organization repo, only for homepage, wiki and issue tracker
https://primefaces-extensions.github.io/
70 stars 22 forks source link

add parserfile and stylesheet to pe:codeMirror tag #201

Closed shikida closed 9 years ago

shikida commented 10 years ago

CodeMirror supports custom parsers and syntax highlight css.

For example

[script type="text/javascript"] var editor = CodeMirror.fromTextArea('code', { height: "450px", parserfile: "../contrib/plsql/js/parseplsql.js", stylesheet: "css/plsqlcolors.css", path: "../../js/", textWrapping: false }); [/script] Please add these to pe:codeMirror tag. Thanks.

tandraschko commented 10 years ago

Would be great if you could provide a patch or pull request. I'm currently not that active in Extensions.

ova2 commented 10 years ago

Yes, a pull request would be welcome! Thomas is the author of this component, but he is busy with PrimeFaces as committer there.

tandraschko commented 9 years ago

As you are currently the only one who need it, please create a pull request. PrimeFaces Extensions is a community based project.