Skip to content

Placeholder setting doesn't work #45

@jdbit

Description

@jdbit

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions