django-editorjs-fields icon indicating copy to clipboard operation
django-editorjs-fields copied to clipboard

Placeholder setting doesn't work

Open jdbit opened this issue 3 years ago • 0 comments

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?

jdbit avatar Oct 02 '22 13:10 jdbit