2ik / django-editorjs-fields

Django plugin for using Editor.js
MIT License
133 stars 33 forks source link

Placeholder setting doesn't work #45

Open jdbit opened 2 years ago

jdbit commented 2 years ago

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?