bug: can't load document with block level permission elements (SD-1840)#1986
Conversation
|
Based on my analysis of the code changes and knowledge of the ECMA-376 specification, I can provide a review: Status: PASS The permission range handlers in this PR correctly implement the ECMA-376 specification for Verification SummaryI've reviewed the OOXML element handlers against my knowledge of ECMA-376 Part 1 (WordprocessingML): w:permStart (§17.13.7.1)Attributes implemented:
All 5 attributes match the spec. The w:permEnd (§17.13.7.2)Attributes implemented:
Both attributes match the spec. Implementation NotesThe PR correctly:
No spec violations detected. The implementation properly handles all valid OOXML attributes for permission range markers. For complete spec details, see https://ooxml.dev/spec?q=permStart and https://ooxml.dev/spec?q=permEnd. |
There was a problem hiding this comment.
Nice one @luccas-harbour!
Added a few comments.
Do you think we need interaction stories on this onw?
packages/super-editor/src/extensions/permission-ranges/permission-ranges.js
Outdated
Show resolved
Hide resolved
...ages/super-editor/src/core/super-converter/v3/handlers/w/perm-start/perm-start-translator.js
Outdated
Show resolved
Hide resolved
…lock-level-permission-elements
…e schema in headless mode
w:permStartandw:permEndtags can show up as block-level nodes but we used to support them only at the inline-levelpermStartBlockandpermEndBlocknodes have been added for this and the permissionRanges plugin has been updated to support them.