-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea6090f
commit 0ae67a2
Showing
3 changed files
with
39 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 16 additions & 34 deletions
50
...onents/canvas/elements/nodes/render-types/__snapshots__/CanvasNodeStickyNote.spec.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,27 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`CanvasNodeStickyNote > should render node correctly 1`] = ` | ||
<div | ||
class="n8n-sticky sticky clickable color-1 sticky" | ||
data-test-id="canvas-sticky-note-node" | ||
style="height: 180px; width: 240px;" | ||
> | ||
<div | ||
class="wrapper" | ||
> | ||
<div | ||
class="n8n-markdown" | ||
> | ||
<div | ||
class="sticky" | ||
/> | ||
"<div class="vue-flow__resize-control nodrag top line"></div> | ||
<div class="vue-flow__resize-control nodrag right line"></div> | ||
<div class="vue-flow__resize-control nodrag bottom line"></div> | ||
<div class="vue-flow__resize-control nodrag left line"></div> | ||
<div class="vue-flow__resize-control nodrag top left handle"></div> | ||
<div class="vue-flow__resize-control nodrag top right handle"></div> | ||
<div class="vue-flow__resize-control nodrag bottom left handle"></div> | ||
<div class="vue-flow__resize-control nodrag bottom right handle"></div> | ||
<div class="n8n-sticky sticky clickable color-1 sticky" style="height: 180px; width: 240px;" data-test-id="canvas-sticky-note-node"> | ||
<div class="wrapper"> | ||
<div class="n8n-markdown"> | ||
<div class="sticky"></div> | ||
</div> | ||
</div> | ||
<div | ||
class="sticky-textarea" | ||
style="display: none;" | ||
> | ||
<div | ||
class="el-textarea el-input--large n8n-input" | ||
> | ||
<div class="sticky-textarea" style="display: none;"> | ||
<div class="el-textarea el-input--large n8n-input"> | ||
<!-- input --> | ||
<!-- textarea --> | ||
<textarea | ||
autocomplete="off" | ||
class="el-textarea__inner" | ||
name="sticky-input" | ||
placeholder="" | ||
rows="5" | ||
tabindex="0" | ||
title="" | ||
/> | ||
<!-- textarea --><textarea class="el-textarea__inner" name="sticky-input" rows="5" title="" tabindex="0" autocomplete="off" placeholder=""></textarea> | ||
<!--v-if--> | ||
</div> | ||
</div> | ||
<!--v-if--> | ||
</div> | ||
</div>" | ||
`; |