Git Product home page Git Product logo

Comments (6)

vaurdan avatar vaurdan commented on August 19, 2024 1

Absolutely. When we try to add Smart Links to a Classic Block, it will not allow selecting the individual block, per the video below. This is the behaviour for all unsupported blocks.

Screen.Recording.2024-07-26.at.13.43.34.mov

If we try to generate Smart Links for the full content, unsupported blocks, such as the Classic Block, will be ignored.

from wp-parsely.

vaurdan avatar vaurdan commented on August 19, 2024

When the "All Blocks" setting is selected, we could consider removing Classic Blocks and submit the rest of the content. Noting though that this could result in suboptimal results, and that implementation might be tricky.

The issue that I see with that - I tried something similar - is that the offsets returned by the Content Suggestions API will not match the actual content offsets. It should be possible to make it work by ignoring the classc blocks when processing the Smart Links suggestions, but it's definitely not trivial.

from wp-parsely.

acicovic avatar acicovic commented on August 19, 2024

Thanks for the info! In this case, I think that just having a better error message for the second case should be enough.

from wp-parsely.

acicovic avatar acicovic commented on August 19, 2024

@vaurdan, does this issue get invalidated by #2673, partly or completely?

from wp-parsely.

vaurdan avatar vaurdan commented on August 19, 2024

Ah yes, it does! Good catch!

from wp-parsely.

acicovic avatar acicovic commented on August 19, 2024

For posterity, can you give a brief description here of what will happen in the 2 cases?

from wp-parsely.

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.