-
-
Notifications
You must be signed in to change notification settings - Fork 316
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
Check SunEditor is focus #238
Labels
Milestone
Comments
Do you want the focus event in code view mode? |
I don't need in code view mode. |
Focus and blur event, It will be added in the next version. const editor = suneditor.create(...);
const w = core.options.iframe ? core._ww : context.element.wysiwyg;
let onFocus = false;
w.addEventListener('focus', function(e){onFocus = true});
w.addEventListener('blur', function(e){onFocus = false}); |
The 2.26.0 version has been updated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi !
Firstly, i'm very grateful for your editor.
I have a question: "How to check SunEditor is focus ?"
Can you help me? I'm using options CodeMirrors
The text was updated successfully, but these errors were encountered: