Closed ulitol97 closed 4 years ago
Indeed, I noticed that but I have no idea how to take control on the fonts.
One thing I tried to do is to recover the codemirror instance object that lies behind YaTe and YaShE...
I think it will be possible to assign a specific size to that codeMirror object as described in the codeMirror API documentation.
Another possibility could be to play with the CodeMirror.css file as described here but I am not sure if it will solve it.
I tried to play a little bit with those options without success...if you try, take into account that you may need to call cm.refresh()
after a change.
I think there is no way to change the font size with the codemirror instance object but you can change it with the css:
<style>
.CodeMirror {
font-size: 26px !important;
}
</style>
Thanks! I had thought about that... I guess that will do, if there is not a more elegant solution 👍
I merged and deployed it to rdfshape.weso.es and it seems to work. 🎉
There is a slight difference in the font size of the editors in the ShEx validation section.