Mashiane Expert Licensed User Longtime User Oct 6, 2016 #1 Hi there I'd like to use the prettify css and js in my app to make source code pretty. I'd like to pass this to a textarea via css etc. I have tried to add the css file to my Files however it depends on js (javascript) file(s) to work. I have attached here my small project. I'm getting an error Oct 06, 2016 3:41:06 PM com.sun.javafx.css.parser.CSSParser declaration WARNING: CSS Error parsing jar:file:/C:/Users/Mash/Desktop/Prettify/Objects/Mashy.jar!/Files/prettify.css: expected series of <size> while parsing 'border' at [53,40] The file itself references the js files Attachments Mashy.zip Mashy.zip 139.6 KB · Views: 438
Hi there I'd like to use the prettify css and js in my app to make source code pretty. I'd like to pass this to a textarea via css etc. I have tried to add the css file to my Files however it depends on js (javascript) file(s) to work. I have attached here my small project. I'm getting an error Oct 06, 2016 3:41:06 PM com.sun.javafx.css.parser.CSSParser declaration WARNING: CSS Error parsing jar:file:/C:/Users/Mash/Desktop/Prettify/Objects/Mashy.jar!/Files/prettify.css: expected series of <size> while parsing 'border' at [53,40] The file itself references the js files
Erel B4X founder Staff member Licensed User Longtime User Oct 6, 2016 #2 It will not work with TextArea. JavaFX doesn't support the same CSS attributes. You can load it with WebView. Upvote 0
It will not work with TextArea. JavaFX doesn't support the same CSS attributes. You can load it with WebView.