How to initialize the mode using custom arguments #830
Unanswered
ashitkvora
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've created a custom mode.
I'm not including the mode in my React component as it throws error
define is undefined
.But when I set custom mode name as a prop to the AceEditor component, it does load it from the webroot.
The issue is the mode is initialized internally by Ace Editor component whereas my Mode requires extra params when initializing.
Here's what the signature of the Mode looks like...
Beta Was this translation helpful? Give feedback.
All reactions