Open SonGokussj4 opened 2 years ago
Hi. The similar is happening with inline_code
.
enter
New line is starting as inline code. Normal <p>
would be preferred.
Wrong way to dismiss:
enter
, press backspace
- because that would just move the cursor line above inside the previous inline_code
with an empty inline_code
block on the right.Funny enough, if I repeat enter
and backspace
a few times, this happens:
Correct way to dismiss:
enter
, write any character and only then press backspace
- that will dismiss the inline_code
block and I can write normally.Setting tinymce keep_styles
option to false will clear on newline, but will affect current format handling in such cases for all block types.
Option usage in tinymce src here:
No additional control possible by the looks of things via specific format. Can possibly hook into custom event to handle specific cases we're attempting to address:
I have a document ending with a callout and I don't know how to dismiss it. I've tried using the arrow keys, clicking around, enter and backspace. I can't find any way to continue editing the document outside of the callout.
Is there a workaround?
Oh, I can make a new empty one and then toggle "large header" on and off.
Describe the Bug
When I write something into callout and it's the last line in book (I don't have any paragraphs or text under) and press
Enter
, new line with new callout appears. If I pressBackspace
, it disappears but the cursor goes to the previous callout.Right now when:
enter
, it will create a new callout,ctrl+1
to change it toH1
, it will createH1
inside callout,ctrl+1
again and it will convertH1 inside callout
into simple paragraphExpected behavior:
Steps to Reproduce
As written above
Expected Behaviour
As written above
Screenshots or Additional Context
No response
Browser Details
Chrome 105.0.5195.102
Exact BookStack Version
v22.07.03
PHP Version
No response
Hosting Environment
Docker / Docker-compose