centaur54dev / ckeditor5-math-preview Goto Github PK
View Code? Open in Web Editor NEWWhen clicking on a latex math expression, a popup is shown that displays the expression rendered with MathJax or KaTeX
When clicking on a latex math expression, a popup is shown that displays the expression rendered with MathJax or KaTeX
It doesn't work with no errors.
Here are my commits https://github.com/wenisy/ckeditor5-build-classic/commit/775e1fc398381b6d4893d77789f7f43c8a94cac2
dependencies
not devDependencies
"dependencies": {
"ckeditor5-math-preview": "^1.0.7"
}
I add MathpreviewPlugin
into ckeditor.js
Test it on python -m SimpleHTTPServer with local file No errors, no modal alert, no correct result.
There is no declaration for mathjax
in README, so I assume it is unnecessary.
And event I added mathjax
into dependencies, it still doesn't work.
Seems like not working with CKE 12.0.0, nothing happens when the plugin is clicked.
Which is the correct way of calling editor.setData( ) with a latex formula as an argument?
I tried editor.setData( "\\[a+b\\]" ); and I am getting a+ba+b
If a call editor.setData( "\[a+b\]" ); and I am getting [a+b]
The expected result in the editor should be \[a+b\].
Any idea?
entering formula eg \(x+x^2=0\)
shows no changes
but the console prints when i click on the formula
Error: view-createPositionAt-offset-required: View#createPositionAt() requires the offset when the first parameter is a view item. Read more: https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html#error-view-createPositionAt-offset-required
Hey, i would like to use this cool plugin to write better Latex.
Sadly, it doesn't work due to duplicate modules because of this plugin uses 20 but the ckEditor5 is already developed to version 27.
Also a Keyboard Shortcut would be pretty awesome or even better if the popup appears automatically :)
I wonder if I can share how to inherit code and highlight pre code.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.