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

release ol/ul issue #4617

Open
6 tasks done
yyechan opened this issue Feb 28, 2024 · 3 comments
Open
6 tasks done

release ol/ul issue #4617

yyechan opened this issue Feb 28, 2024 · 3 comments

Comments

@yyechan
Copy link

yyechan commented Feb 28, 2024

Checklist

  • I've looked at the documentation to make sure the behavior isn't documented and expected.
  • I'm sure this is an issue with Summernote, not with my app or other dependencies (Angular, Cordova, React, etc.).
  • I've searched through the current issues to make sure this hasn't been reported yet.
  • My issue is pertinent to this repository of Summernote (jQuery), or I was unable to have my issue resolved from the relevant version I'm using, such as Angular, dJango, Rails or React. Please try your issue at the relevent repository first.
  • I understand that issues without interaction for more than 14 days (2 weeks), may be closed at our discretion. We do this, as sometimes issues are abandoned. We may at our discretion, add issues to the relevant project to be looked at, or for maintainers to work through as time permits. This is to help keep issues relevant to the current version of Summernote, and to reduce clutter.
  • I agree to follow the Code of Conduct that this project adheres to.

Steps to reproduce

  1. Click numbered/unodered list button
  2. Type any text and Indent list
  3. Enter at empty nested list

Expected behavior

Release OL/UL tag or outdent level of nested OL/UL at empty LI tag

Current behavior

Release OL/UL tag, and Unnecessary line breaks and empty OL/UL tags are created.

summernote

Minimal example reproducing the issue

No response

Environment

  • Summernote version: Latest commit of the develop branch
  • Browser (with version): chrome
  • OS/Platform (with version): windows 10
@DennisSuitters
Copy link
Member

Have you tried building the latest source? @HoffmannTom has been working on and submitting PR's addressing several issues related to using lists.

@HoffmannTom
Copy link
Contributor

Yes, I also saw this issue among the ul/ol issues.
Still working on it.

@HoffmannTom
Copy link
Contributor

HoffmannTom commented May 5, 2024

I created PR #4636 to address several issues when working with lists.
I couldn't reproduce the mentioned issue anymore.
Some glitches are still present, e. g. when the <li> contains additional formatting. This needs to be fixed in the future too.

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

3 participants