Select like this and paste:
Now select like this and paste:
Note how the first table cell is larger. This is because it is missing the ve-ce-generated-wrapper class:
matmarex | |
Jan 22 2022, 2:03 AM |
F34926318: image.png | |
Jan 22 2022, 2:03 AM |
F34926322: image.png | |
Jan 22 2022, 2:03 AM |
F34926326: image.png | |
Jan 22 2022, 2:03 AM |
F34926324: image.png | |
Jan 22 2022, 2:03 AM |
F34926320: image.png | |
Jan 22 2022, 2:03 AM |
Select like this and paste:
Now select like this and paste:
Note how the first table cell is larger. This is because it is missing the ve-ce-generated-wrapper class:
n.b. this is just a view issue for the editor, when saving the page Parsoid converts both to |asd in the table.
Change 768119 had a related patch set uploaded (by Esanders; author: Esanders):
[VisualEditor/VisualEditor@master] Use wrapper paragraphs in fixUpInsertion
Change 768119 merged by jenkins-bot:
[VisualEditor/VisualEditor@master] Use wrapper paragraphs in fixUpInsertion
Change 768183 had a related patch set uploaded (by Bartosz Dziewoński; author: Esanders):
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (15c1efdc2)
Change 768183 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (15c1efdc2)
Pasted content is marked as wrapped.See https://photos.app.goo.gl/uPfpwH7mQCxx7pGY8
I did observe that changing the text style affects it as well. In 23, I changed the text to a heading and back to a paragraph. This change doesn't mark it wrapped.
@matmarex, I expected the text to be wrapped after the change. is that a valid expectation?
@EAkinloose Thanks, I didn't think to test that. You're right, the text should still be marked as a wrapper, and the table cell should not be larger. I filed a separate task for this, because it looks like it will need a significantly different fix: T303775: Table cells look too large after applying and then removing paragraph formatting (e.g. heading, preformatted).