codex-team / codex-team/editor.js

[block-tune] Html returned by render() is not searchable

Open
#2,413 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Noticed that the html returned from the `render()` method of my block-tune i**s not searchable** via the `cdx-search-field` input (it is rendered inside `ce-popover__custom-content`).

But if I return a [menu configuration](https://editorjs.io/menu-config/) from `render()`, then the item created **is searchable** (it is rendered inside `ce-popover__items`).

We should be able to chose the zone of the settings area in which our item are rendered (`ce-popover__custom-content` or `ce-popover__items`) and make it searchable or not.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.