basilapi / basil

Building Apis SImpLy from sparql endpoints
http://basil.kmi.open.ac.uk
24 stars 5 forks source link

Use YASQE as query editor #44

Open LaurensRietveld opened 8 years ago

LaurensRietveld commented 8 years ago

I noticed you're still using text areas to render the queries. You might want to use the YASQE (http://yasqe.yasgui.org) instead.

To get the YASQE query editor, include the css/js, and run something like YASQE.fromTextArea($('textarea')) (see attachment). To get a read-only YASQE rendering, add {'readOnly': true} as configuration

If you'd like to integrate this and bump into issues not described in the docs (http://yasqe.yasgui.org/doc), feel free to ping me

basilandyasqe

enridaga commented 8 years ago

I'd love to have this... thank you for that!