toeverything / blocksuite

🧩 Content editing tech stack for the web - BlockSuite is a toolkit for building editors and collaborative applications.
https://blocksuite.io
Mozilla Public License 2.0
4.37k stars 398 forks source link

Search should search things in tables​ #6440

Closed Macavirus closed 6 months ago

Macavirus commented 1 year ago

Description

Quick Search (Ctrl-K) should search text in tables as well.

Use case

It is very common ot put text in a table, and later find that you want to find all all instances of text across all worksapces. The current global search does not do this.

Example: In the sample content provided in v0.9 -- do a global search for "kingsolver". No results, yet this text exists in the "Personal Knowledge Management" page in the "8 books I should finished" table.

Anything else?

No response

Are you willing to submit a PR?

houjoe0829 commented 12 months ago

This should be caused by the current search index range not covering the contents of the Database. You can take a look. @hwangdev97

hwangdev97 commented 12 months ago

Yes, we also want to support searching the content within the table. We will support related functions in subsequent iterations. Not just in the table, but also in the text information in edgeless