GithubHelp home page GithubHelp logo

Comments (6)

nikitin- avatar nikitin- commented on June 21, 2024

Now I'm playing around with registerPostFixer and getMarkersToRemove but not sure that this is a good way. ...

document.registerPostFixer( writer =>  {
    const changes = document.differ.getChanges();
    const del_markers = document.differ.getMarkersToRemove()
    if (del_markers) {
        debugger;
    }
});

from ckeditor5.

Witoso avatar Witoso commented on June 21, 2024

Hi! As per docs:

When you remove the document content related to a comment thread from the document, the comment thread becomes unlinked. It is then moved to the comments archive. Since it has not been technically resolved, it does not display the usual related information.

Comments archive.

You can access those comments via archivedThreads. Hope this helps!

from ckeditor5.

nikitin- avatar nikitin- commented on June 21, 2024

@Witoso - Thank you for the answer!
Is CommentsArchive (@ckeditor/ckeditor5-comments/src/comments/commentsarchive) a separate plugin or it comes bundled to ckeditor5 "core" ?

As for now I have ckeditor5 version 35.4.0-1 (in some entreprise software :) ) - so I can not "upgrade" it.

from ckeditor5.

Witoso avatar Witoso commented on June 21, 2024

CommentsArchive appeared in v37.0.0, with changes in the deleted content in v40.0.0. I strongly suggest upgrading; otherwise you would need to duplicate the feature that is provided out of the box :)

from ckeditor5.

nikitin- avatar nikitin- commented on June 21, 2024

@Witoso
ok - in case when I can not upgrade to these versions ... Is it a good start point to grab the deleted comments like this ? #16392 (comment)

from ckeditor5.

nikitin- avatar nikitin- commented on June 21, 2024

Ok I have tested the update for ckeditor v.40 .
This update "broke" current application due to "incompatibility/dependency/whatever" problems.
So I will stick with this approach #16392 (comment)

Thank you for answerring my questions!

from ckeditor5.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.