Skip to content
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

Added new API to editor with focus/blur #172

Merged

Conversation

Darginec05
Copy link
Collaborator

Description

editor now supports three new API methods:

  1. editor.isFocused()
  2. editor.blur()
  3. editor.focus()

Fixes # (issue)
#152

Type of change

Please tick the relevant option.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • I have performed a self-review of my own code
  • I have commented on my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have checked my code and corrected any misspellings

…d' of github.com:Darginec05/Editor-Yopta into 152-set-placeholder-value-for-when-editor-is-not-focused
@Darginec05 Darginec05 linked an issue May 25, 2024 that may be closed by this pull request
1 task
Copy link

vercel bot commented May 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
yoopta-editor ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 25, 2024 11:19pm

@Darginec05
Copy link
Collaborator Author

add docs

@Darginec05 Darginec05 merged commit 96474f1 into master May 25, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set PlaceHolder Value For When Editor Is Not Focused.
1 participant