Skip to content

Commit

Permalink
scaffolding home made rich editor
Browse files Browse the repository at this point in the history
  • Loading branch information
rouk1 committed Jan 14, 2025
1 parent 44f9629 commit 5e0ee8f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions skore-ui/src/components/RichTextEditor.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<script setup lang="ts"></script>

<template>
<div class="rich-text-editor"></div>
</template>

<style lang="css" scoped>
.rich-text-editor {
color: var(--color-text-secondary);
}
</style>
4 changes: 4 additions & 0 deletions skore-ui/src/views/ComponentsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import FloatingTooltip from "@/components/FloatingTooltip.vue";
import HtmlSnippetWidget from "@/components/HtmlSnippetWidget.vue";
import ImageWidget from "@/components/ImageWidget.vue";
import MarkdownWidget from "@/components/MarkdownWidget.vue";
import RichTextEditor from "@/components/RichTextEditor.vue";
import SectionHeader from "@/components/SectionHeader.vue";
import SimpleButton from "@/components/SimpleButton.vue";
import SlideToggle from "@/components/SlideToggle.vue";
Expand Down Expand Up @@ -1379,6 +1380,9 @@ const toggleModel = ref(true);
</div>
<div>toggles are {{ toggleModel }}</div>
</TabPanelContent>
<TabPanelContent name="rich edit">
<RichTextEditor />
</TabPanelContent>
</TabPanel>
</main>
</template>
Expand Down

0 comments on commit 5e0ee8f

Please sign in to comment.