Changes by Marius Dumitru Florea on 22/Oct/26 11:17
Fix Version:
18.10.0-rc-1
Assignee:
Nicoleta Ciausu
1 comment
Marius Dumitru Florea on 22/Oct/26 11:16
The office importer module should have the Java API to convert an office file to XDOM. What we need is a service that BlockNote can call. I'd reuse the service used by CKEditor because it's generic. This means:
modify CKEditor code to use the office importer from xwiki-platform-wysiwyg-ui / xwiki-platform-wysiwyg-webjar
verify by running the CKEditor tests, although I don't see any office import related tests for CKEditor; would be good to add the needed page objects and a simple test. The PO (for the office import modal) will be shared with BlockNote
on BlockNote side, reuse the office import JS code (that loads/creates the modal and uses the XWiki.WYSIWYG.OfficeImporter service to perform the conversion) from xwiki-platform-wysiwyg-webjar
add a functional test, reusing the PO from xwiki-platform-wysiwyg-test-pageobjects
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.