-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(editor): special blocks for fixed items
- Loading branch information
Showing
5 changed files
with
63 additions
and
15 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
17 changes: 17 additions & 0 deletions
17
...ite-app/src/components/page/editor/entity/default/blocks/EditorEntityDefaultLineBreak.vue
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<template> | ||
<EditorEntityDefaultContainer :entity="props.entity"> | ||
<div class="flex items-center py-6 justify-center w-full"> | ||
<div | ||
class="cursor-default border-b-8 border-dashed border-theme-editor-entity-line w-full" | ||
/> | ||
</div> | ||
</EditorEntityDefaultContainer> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { Entity } from 'better-write-types' | ||
const props = defineProps<{ | ||
entity: Entity | ||
}>() | ||
</script> |
17 changes: 17 additions & 0 deletions
17
...ite-app/src/components/page/editor/entity/default/blocks/EditorEntityDefaultPageBreak.vue
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<template> | ||
<EditorEntityDefaultContainer :entity="props.entity"> | ||
<div class="flex items-center py-6 justify-center w-full"> | ||
<div | ||
class="cursor-default h-2 border-b-8 border-theme-border-1 border-theme-editor-entity-page w-full" | ||
/> | ||
</div> | ||
</EditorEntityDefaultContainer> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { Entity } from 'better-write-types' | ||
const props = defineProps<{ | ||
entity: Entity | ||
}>() | ||
</script> |
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