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

Inconsistent new line behaviour in Visual Editor #339

Open
Michael-Z-Freeman opened this issue Jul 9, 2022 · 2 comments
Open

Inconsistent new line behaviour in Visual Editor #339

Michael-Z-Freeman opened this issue Jul 9, 2022 · 2 comments

Comments

@Michael-Z-Freeman
Copy link

MediaWiki | 1.38.1
PHP | 7.4.3 (cgi-fcgi)
Chameleon | 4.1.0
Bootstrap | 4.6.0

I suspect this to be a Visual Editor issue but I put this here anyway.

Hi. I have a page where I use alternating block quotes and paragraphs. However sometimes its as if new lines are ignored. At one place on the page Visual Editor shows two new line icons and the actual page shows the paragraph as contiguous with the text next to it when it should be a new paragraph.
wiki.txt
Web capture_9-7-2022_12490_liberation-map michaelzfreeman org
Web capture_9-7-2022_123951_liberation-map michaelzfreeman org

@malberts
Copy link
Contributor

I also think this is not a Chameleon issue, but to be sure, can you do an edit in VE that causes the incorrect newline behavior and then check what it looks like when you use the Vector skin?

@Michael-Z-Freeman
Copy link
Author

Ok got to the bottom of this. It is and it isn't a Chameleon issue. Chameleon does not cause the new line behaviour which is a peculiarity of Mediawiki in a paragraph/block quote where two new lines are needed to create a line break. This does not happen in a standard paragraph. This also has the effect of creating what looks like two new lines in the block quote whereas a normal paragraph only has one. I tested this in Vector.

So the two new lines behaviour. I eventually realised why it looked so wrong to me. This is because block quotes in Chameleon are missing the grey bar that the Vector block quote put's down its left hand side. So this is more to do with issue #222

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