-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Less-Than-Sign from Drag and Drop area? #2
Comments
Hi Ray, Thanks for reporting this this is the right place or on on of the other integrations. I have not noticed this before, but was able to reproduce it. It is a bug in the configuration file. I just tried the configuration editor at http://dthies.github.io/moodle-editor_tinymce-mathslate/configuration.html and it came up with an improvement. In config.js replace ["mo",{},"<"], with ["mrow",{"tex":["<"]},[["mo",{},"<"]]], and that should fix the problem. |
An additional problem is that mouse over of < and > does not display the characters correctly but instead the encoded entities < and >. |
Thank you very much, testing now... |
Hi, sorry for the delay, but was able to look into this more as it initially did not work for me. I couldn't get the online configuration tool to respond positively, so I just worked directly in my environment. Is it ok to use ["mrow", {"tex":["<"]},[["mo",{},"<"]]], using the html decimal entity in the config.json, as this worked for me? Thanks again for your work on this... If you don't see an issue with using that value for <, then I'll be ok with this config option. |
Yes, I think that should be correct. I may have had that and mistakenly have let gitbub editor decode it. |
Hi, Daniel... I looked as best I could for a solution to this in either a config or a settings file, but couldn't, so I figured I would ask here. I apologize if this is not the correct place to post this.
This error appears in yellow and red when dragging a less-than-sign into the window.
"Error parsing MathML: error on line 1 at column 96: StartTag: invalid element name"
The symbol is accepted and it appears to work, but is there a way to suppress this or escape the < symbol? or html entity?
Any help would be appreciated. Thank you for the work done on this project.
The text was updated successfully, but these errors were encountered: