Page MenuHomePhabricator

Can't de-bold (or italic etc.) a table selection if one cell is empty
Closed, ResolvedPublic

Description

  1. Create a table with some content and an empty cell (e.g. https://en.wikipedia.beta.wmflabs.org/wiki/User:ESanders_(WMF)/table-bold?veaction=edit)
  2. Select across some content and the empty cell
  3. Press CTRL+B, observe all the content is bolded
  4. Press CTRL+B again, observe nothing happens

Event Timeline

Change 778319 had a related patch set uploaded (by Esanders; author: Esanders):

[VisualEditor/VisualEditor@master] getAnnotationsFromRange: Distinguish between "no annotations" and "no content"

https://gerrit.wikimedia.org/r/778319

Change 778319 merged by jenkins-bot:

[VisualEditor/VisualEditor@master] getAnnotationsFromRange: Distinguish between "no annotations" and "no content"

https://gerrit.wikimedia.org/r/778319

Change 778365 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (0fde38782)

https://gerrit.wikimedia.org/r/778365

Change 778365 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (0fde38782)

https://gerrit.wikimedia.org/r/778365

@Esanders , I think you should take a look at https://photos.app.goo.gl/oBzYyc768qzz69X17?
It is not consistent across the grid. It works in some rows and ignores others. I checked with columns seem to work fine.

Cc: @matmarex

Change 779021 had a related patch set uploaded (by Esanders; author: Esanders):

[VisualEditor/VisualEditor@master] Follow-up I26486e0e79: Fix when first range returns null annotation set

https://gerrit.wikimedia.org/r/779021

Change 779021 merged by jenkins-bot:

[VisualEditor/VisualEditor@master] Follow-up I26486e0e79: Fix when first range returns null annotation set

https://gerrit.wikimedia.org/r/779021

Change 779094 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (a0bf00838)

https://gerrit.wikimedia.org/r/779094

Change 779094 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (a0bf00838)

https://gerrit.wikimedia.org/r/779094

ppelberg claimed this task.