Darginec05 / Yoopta-Editor

Build Notion-like, Craft-like, Coda-like, Medium-like editors with Yoopta
https://yoopta.dev/
MIT License
784 stars 61 forks source link

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

Closed AhmxdNYC closed 1 month ago

AhmxdNYC commented 1 month ago

Is this a unique feature?

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 commented 1 month ago

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

Docs

Examples