Skip to content

Commit bfa08c7

Browse files
committed
bioming
1 parent cc1c226 commit bfa08c7

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

web/libs/editor/src/tags/control/Choices.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,9 @@ const ChoicesSelectLayout = observer(({ item }) => {
293293
const HtxChoices = observer(({ item }) => {
294294
return (
295295
<div
296-
className={cn("choices").mod({ hidden: !item.isVisible || !item.perRegionVisible(), layout: item.layout }).toClassName()}
296+
className={cn("choices")
297+
.mod({ hidden: !item.isVisible || !item.perRegionVisible(), layout: item.layout })
298+
.toClassName()}
297299
ref={item.elementRef}
298300
>
299301
{item.layout === "select" ? <ChoicesSelectLayout item={item} /> : Tree.renderChildren(item, item.annotation)}

web/libs/editor/src/tags/object/RichText/view.jsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,11 @@ class RichTextPieceView extends Component {
561561
<ObjectTag item={item} className={cn("richtext").toClassName()}>
562562
<div
563563
key="root"
564-
className={cn("richtext").elem("container").mod({ canResizeSpans: ff.isActive(ff.FF_ADJUSTABLE_SPANS) }).mix("htx-richtext").toClassName()}
564+
className={cn("richtext")
565+
.elem("container")
566+
.mod({ canResizeSpans: ff.isActive(ff.FF_ADJUSTABLE_SPANS) })
567+
.mix("htx-richtext")
568+
.toClassName()}
565569
ref={(el) => {
566570
item.mountNodeRef.current = el;
567571
el && this.markObjectAsLoaded();
@@ -578,7 +582,7 @@ class RichTextPieceView extends Component {
578582
<div className={cn("richtext").elem("loading").toClassName()} ref={this.loadingRef}>
579583
<LoadingOutlined />
580584
</div>
581-
585+
{/* biome-ignore lint/a11y/useIframeTitle: As a result from BEM migration */}
582586
<iframe
583587
key="root"
584588
className={cn("richtext").elem("iframe").mix("htx-richtext").toClassName()}

0 commit comments

Comments
 (0)