-
-
Notifications
You must be signed in to change notification settings - Fork 541
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
REST API Bard ordered list not using start attributes #10770
Comments
Are you able to provide the full value for the Bard field (the YAML in the entry's markdown file)? |
The YAML i'm loading is as followed:
I load this like so in my component:
The actual markdown i am getting within the page:
It seems to only be doing this when you start a list like typing 2. then text, or 3. then text. Please let me know if i need to add on any information! |
What version of ueberdosis/tiptap-php do you have installed? This was fixed in 1.4.0. Try a |
I just updated statamic in it self to the latest version of v4, this seemed to have updated tiptap-php & fixed the issue. Thanks both! 😄 |
Bug description
While using bard with an ordered list. Within statamic it shows like the following:
In the markdown it is shown like this:
However within the Api, the html being sent is an ordered list without attributes. Like this:
This causes the HTML to be rendered like this:
How to reproduce
Enable the REST API,
Add a bard fieldset with ordered list option enabled to a page,
Use an ordered list with some text in between
Check API response
Logs
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
N/A
The text was updated successfully, but these errors were encountered: