Skip to content

Commit

Permalink
Update Text_Editor.html
Browse files Browse the repository at this point in the history
  • Loading branch information
BoQsc committed May 28, 2024
1 parent fb55875 commit 4930327
Showing 1 changed file with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<toolbar>
[bold] [italic] [h1] [h2] [h3] [h4] [h5] [link] [quote] [list] [code] [hr] [image]
</toolbar>
<text><bold>Example</bold> <regular>text.</regular></text>
<text><bold>Example</bold><regular> text.</regular></text>
</texteditor>

<style>
Expand All @@ -14,4 +14,14 @@
text {
white-space: pre;
}
</style>

bold {

font-weight: bold;

}
</style>

<script>
//If selection crosses another tag = remove content from both tags and insert inbetween a new tag with the new tag.
</script>

0 comments on commit 4930327

Please sign in to comment.