![]() ![]() This method - to be deprecated - only returns the old Draft class, which is incompatible with shared drafts. Prior to shared drafts, actions could access drafts by calling getDraft(). Shared draft support is provided to actions that extend the AbstractCreateAndEditPageAction. This is similar to SharedDraftUpdatedEvent, except that it's fired from the client side and is triggered for both personal and shared drafts. This normally happens at regular intervals in an editing session when a draft is auto-saved. Triggered when a shared draft is updated. Triggered when a new shared draft gets created. We're deprecating the Draft class in favor of using the existing Page and Blogpost classes, where a contentStatus field of draft will indicate the object is a draft.Ĭomparing the personal draft and shared draft models: Personal drafts were represented by a Draft class, which extends ContentEntityObject and contains a draftType field indicating whether the draft was a page or blogpost.Using collaborative editing a single shared draft is created for each page, and anyone editing the page will see the same draft. When editing a page prior to collaborative editing a new personal draft was created for each user, and the changes couldn't be seen by other users as personal drafts are private.We'll call the outgoing model, used prior to collaborative editing, personal drafts, and the new model shared drafts. ![]() We're changing the way drafts behave, and moving to a model that's more consistent with how content should be stored for collaborative editing. Shared drafts The shared draft vs personal draft model This page provides an overview of the various components that make up collaborative editing. We'll go through how each component works, and how you can build apps to integrate with them.ĭeveloping for Confluence Server? Head to Collaborative editing for Confluence Server. When using collaborative editing, a page editor will see the avatar(s) of others editing the page, and the changes they make will appear in the editor in real time. Collaborative editing allows multiple people to concurrently edit a single Confluence page or blog post (we'll just call them pages from here on). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |