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

Set PlaceHolder Value For When Editor Is Not Focused. #152

Closed
1 task done
AhmxdNYC opened this issue May 13, 2024 · 1 comment · Fixed by #172
Closed
1 task done

Set PlaceHolder Value For When Editor Is Not Focused. #152

AhmxdNYC opened this issue May 13, 2024 · 1 comment · Fixed by #172
Assignees

Comments

@AhmxdNYC
Copy link

Is this a unique feature?

  • I have checked "open" AND "closed" issues and this is not a duplicate

Is your feature request related to a problem/unavailable functionality? Please describe.

I’m making a social media like application with an editor for creating a post.

I want the default placeholder for when editor is not focused to be something like : Start Your Story…

And when editor is focused for it to be type / for the / menu

so the user can see where to start their story and also know about / menu at the same time

Also recommended also adding options for editing placeholder value for each item in the editor.

ex after you do /heading you get a new placeholder :
Type your heading…

thank you

Proposed Solution

Don’t have a solution.

Screenshots

No response

Do you want to work on this issue?

No

If "yes" to the above, please explain how you would technically implement this (issue will not be assigned if this is skipped)

No response

@Darginec05 Darginec05 self-assigned this May 15, 2024
@Darginec05 Darginec05 linked a pull request May 25, 2024 that will close this issue
9 tasks
@Darginec05
Copy link
Collaborator

Fixed in v4.4.0.
Added three new API methods:

  • editor.isFocused()
  • editor.focus()
  • editor.blur()

Docs

Examples

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 a pull request may close this issue.

2 participants