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

Is there any difference between plain_text vs text.content? #529

Open
wongww opened this issue Oct 6, 2024 · 0 comments
Open

Is there any difference between plain_text vs text.content? #529

wongww opened this issue Oct 6, 2024 · 0 comments

Comments

@wongww
Copy link

wongww commented Oct 6, 2024

{
  "Title": {
    "type": "title",
    "title": [
      {
        "text": {
          "content": "A better title for the page",
        },
        "plain_text": "This is also not done",
      }
    ]
  }
}

In the documentation, it shows that plaint_text and content are different values.
While using Notion's API, I have never seen plaint_text and content be different. So, what is the difference if there are any?

@wongww wongww changed the title plain_text vs text.content Is there any difference between plain_text vs text.content? Oct 6, 2024
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