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

Bug - List-steps plugin overrides "start" attribute of <ol> element #2431

Open
jkshapiro opened this issue Oct 15, 2024 · 2 comments
Open

Bug - List-steps plugin overrides "start" attribute of <ol> element #2431

jkshapiro opened this issue Oct 15, 2024 · 2 comments

Comments

@jkshapiro
Copy link
Contributor

jkshapiro commented Oct 15, 2024

Describe the bug

The following HTML should result in a list with a start value of 2, but the start value is 1.

<ol class="lst-stps" start="2">

To Reproduce

Steps to reproduce the behaviour:

  1. Create a web page that uses the list-steps plugin
  2. To the appropriate <ol> element, add the attribute start="2"

Current behaviour

The start value is 1.

Expected behaviour

The start value should be 2.

@Christopher-O
Copy link
Contributor

Christopher-O commented Nov 15, 2024

@jkshapiro this issue has been somewhat resolved. I added custom CSS to the steps in order to allow it to follow the start attribute value up to 9. Anything custom (i.e. any number) would require custom javascript to keep the code manageable. see discussion #2441

@jkshapiro
Copy link
Contributor Author

A good band-aid solution, thank you.

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

2 participants