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

Placeholder setting doesn't work #45

Open
jdbit opened this issue Oct 2, 2022 · 0 comments
Open

Placeholder setting doesn't work #45

jdbit opened this issue Oct 2, 2022 · 0 comments

Comments

@jdbit
Copy link

jdbit commented Oct 2, 2022

Hi,
I want to change the default text "Type text..." but for some reason placeholder argument for EditorJsJSONField field doesn't change anything. My code:

class Page(models.Model):
    ...
    content = EditorJsJSONField(
        "Content",
        blank=True,
        null=True,
        placeholder="Write your post content here...")

What I'm doing wrong?

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

No branches or pull requests

1 participant