🎨 Database table view primary key column cell support [[ bind to a block https://github.com/siyuan-note/siyuan/issues/9983

This commit is contained in:
Daniel 2023-12-27 20:58:21 +08:00
parent 205e04fba2
commit 50770e3156
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -321,9 +321,6 @@ export const popTextCell = (protyle: IProtyle, cellElements: HTMLElement[], type
}
if (type === "block") {
inputElement.addEventListener("input", (event: InputEvent) => {
if (event.isComposing) {
return;
}
if (Constants.BLOCK_HINT_KEYS.includes(inputElement.value.substring(0, 2))) {
protyle.toolbar.range = document.createRange();
protyle.toolbar.range.selectNodeContents(cellElements[0].lastChild);