Lines Matching refs:blockId
95 const blockId = anyToString(anyBlockId); constant
96 if (!this.blockIdToHtmlElementsMap.has(blockId)) {
97 this.blockIdToHtmlElementsMap.set(blockId, []);
99 this.blockIdToHtmlElementsMap.get(blockId).push(htmlElement);
103 const blockId = anyToString(anyBlockId); constant
104 if (!this.blockIdtoNodeIds.has(blockId)) {
105 this.blockIdtoNodeIds.set(blockId, []);
107 this.blockIdtoNodeIds.get(blockId).push(anyToString(anyNodeId));
108 this.nodeIdToBlockId[anyNodeId] = blockId;
114 const blockId = this.nodeIdToBlockId[nodeId]; constant
115 if (blockId == undefined) continue;
116 blockIds.push(blockId);
125 for (const [blockId, elements] of this.blockIdToHtmlElementsMap.entries()) { constant
126 const isSelected = view.blockSelection.isSelected(blockId);
164 if (style.blockId != undefined) {
165 const blockId = style.blockId(text); constant
166 if (blockId != undefined) {
167 fragment.blockId = blockId;
168 this.addHtmlElementForBlockId(blockId, fragment);
189 fragment.blockId = style.assignBlockId();
190 this.addNodeIdToBlockId(fragment.nodeId, fragment.blockId);