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(markdown) Applying a blockquote to a header line will remove the header hash marks and indented code #171

Closed
yellis opened this issue Jul 13, 2022 · 1 comment
Labels
bug Something isn't working mode - markdown Affects the editor's markdown input mode

Comments

@yellis
Copy link
Contributor

yellis commented Jul 13, 2022

Describe the bug
Applying a blockquote to a header line will remove the header hash marks. This will happen regardless of what (if anything) is highlighted on the line at the time when the blockquote function is activated. Works fine in RT mode.

To Reproduce
Steps to reproduce the behavior:

  1. MD mode. Type in # this is a header
  2. While on the line, ctrl-q or use the blockquote button
  3. The header # disappears

Will also remove indented code formatting. Ie, this:

    Triage result      Questions Avg Views 
    ------------------ --------- --------- 
    Looks Good         11379     76        
    Should Be Improved 9825      66        
    Unsalvageable      4299      48     

Becomes this:

> Triage result      Questions Avg Views 
> 
> Looks Good         11379     76        
> Should Be Improved 9825      66        
> Unsalvageable      4299      48 

Expected behavior
Blockquote application in MD mode should not remove header hashes

Screenshots
image

Desktop (please complete the following information):
Windows 11 Chrome 103

Additional context

@yellis yellis added bug Something isn't working mode - markdown Affects the editor's markdown input mode labels Jul 13, 2022
@b-kelly
Copy link
Collaborator

b-kelly commented Jul 18, 2022

Same root issue as #70, closing this issue to keep the list tidy.

@b-kelly b-kelly closed this as completed Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mode - markdown Affects the editor's markdown input mode
Projects
Status: Done
Development

No branches or pull requests

2 participants