We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using the bubble theme and I am trying to get the formula module to work.
I have added the Katex package and Quill does detect this because without the Katex package, I get console errors.
So after adding the Katex package and in the options setting formula to true
toolbarOptions = [{ size: [ 'small', false, 'large' ]}, 'bold', 'italic', 'underline', 'strike', 'link', 'code-block', 'formula', { 'color': [] }, { 'align': [] }, 'clean']; @editor = new QuillNEW @find('.quill-editor'), placeholder: 'Enter Text...' modules: syntax: true formula: true toolbar: toolbarOptions history: delay: 1000 userOnly: true maxStack: 50 theme: "bubble"
I still cannot use the formula button. The button appears in toolbar but when I click it, it does nothing.
In console I get this error:
quill:toolbar ignoring attaching to nonexistent format formula <button type="button" class="ql-formula">…</button>
It does not recognize the format formula. I even tried the whitelist option of formats and specifically adding 'formula' but that does not work.
If you do this with the snow theme it DOES work. This issue is primarily with the bubble theme.
snow
bubble
Steps for Reproduction
var quill = new Quill('#editor-container', { modules: { toolbar: [ [{ header: [1, 2, false] }], ['bold', 'italic', 'underline'], ['image', 'code-block', 'formula'] ], formula: true }, placeholder: 'Compose an epic...', theme: 'bubble' // or 'bubble' });
Expected behavior:
Formula should work in both themes
Actual behavior:
Formula only works with snow theme
Platforms:
Using Quill 1.0.3 on Mac with Chrome 52.0
The text was updated successfully, but these errors were encountered:
I just noticed that on a page with multiple quill editors.
The first editor on the page does not work with the formula module.
But the editors below do work with it. I wonder whats going on? In the playground since there is only one editor, it does not work.
Sorry, something went wrong.
751125f
No branches or pull requests
I am using the bubble theme and I am trying to get the formula module to work.
I have added the Katex package and Quill does detect this because without the Katex package, I get console errors.
So after adding the Katex package and in the options setting formula to true
I still cannot use the formula button. The button appears in toolbar but when I click it, it does nothing.
In console I get this error:
It does not recognize the format formula. I even tried the whitelist option of formats and specifically adding 'formula' but that does not work.
If you do this with the
snow
theme it DOES work. This issue is primarily with thebubble
theme.Steps for Reproduction
Expected behavior:
Formula should work in both themes
Actual behavior:
Formula only works with snow theme
Platforms:
Using Quill 1.0.3 on Mac with Chrome 52.0
The text was updated successfully, but these errors were encountered: