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 a way to set the first number of an ordered list? #32

Open
miguelReyesC-zz opened this issue Apr 27, 2020 · 1 comment
Open
Labels
good first issue Good for newcomers

Comments

@miguelReyesC-zz
Copy link

Im thinking in some way to set the first element in an ordered list, this is the current behaviour:

  1. first element
  2. second element
  3. third element
    (I want an image, code block or whatever and continue my list with number 4 however if I insert a new list Im forced to continue with number 1)
  4. fourth element
  5. fith element
    ....
    ....

I think will be a good idea to have an input in the Block Settings box where will be possible to type the first element of the list so the following will be possible:

  1. first element
  2. second element
  3. third element
    (I want an image, code block or whatever and continue my list with number 4 however if I insert a new list Im forced to continue with number 1)
  4. fourth element
  5. fith element
    (another image or something)
  6. ....
  7. .....

If is possible right now forget about this, however after reading documentation and viewing some examples "first element of an ordered list" is not supported, I was thinking to extend this class (List component) and have this behaviour in some way only for me but at the last page of the official documentation I see that is possible contribute and commit the changes, I think this last option will be much better. what do you think?

@aburymichael
Copy link

Have you had any feedback on this? Did you just implement it on your project?

Im looking at adding this feature in so that ordered lists can have extra settings (specifically 'start' and 'type') - but before diving in and doing a PR I wanted to check if you had done anything / have a solution to this already?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants