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 c7d8a2f commit 36668d9
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<toolbar>
<button tool="bold">[bold]</button> <button tool="italic">[italic]</button> <button tool="strike">[strike]</button> <button tool="h1">[h1]</button> <button tool="h2">[h2]</button> <button tool="h3">[h3]</button> <button tool="h4">[h4]</button> <button tool="h5">[h5]</button> <button tool="link">[link]</button> <button tool="quote">[quote]</button> <button tool="list">[list]</button> <button tool="code">[code]</button> <button tool="hr">[hr]</button> <button tool="image">[image]</button> <button tool="spoiler">[spoiler]</button> <button tool="highlight">[highlight]</button>
</toolbar>
<textdecoration><side><linenumbers></linenumbers><linebreakpoints></linebreakpoints></side><text contenteditable><bold>Example</bold><regular> text.</regular></text></textdecoration>
<textdecoration><side><linenumbers>1</linenumbers><linebreakpoints></linebreakpoints></side><text contenteditable><bold>Example</bold><regular> text.</regular></text></textdecoration>
</texteditor>


Expand Down Expand Up @@ -41,7 +41,7 @@

side {
display: flex;
width: 50px;
width: 30px;
background: gray;
margin-right: 5px;
}
Expand All @@ -50,12 +50,14 @@
background: #26282b;
display: block;
width: -webkit-fill-available;
text-align: center;
color: white;
}

linebreakpoints{
background: #393c42;
display: block;
width: -webkit-fill-available;
width: 50%;
}

textdecoration {
Expand Down

0 comments on commit 36668d9

Please sign in to comment.