-
Notifications
You must be signed in to change notification settings - Fork 0
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
3444f3b
commit 4a84cce
Showing
35 changed files
with
233 additions
and
174 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,7 @@ | |
margin: 25px; | ||
width: 1000px; | ||
} | ||
|
||
.richtextcontainer { | ||
border: 1px solid black; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,3 @@ h1 { | |
font-size: 3.2em; | ||
line-height: 1.1; | ||
} | ||
|
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
This file was deleted.
Oops, something went wrong.
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
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
This file was deleted.
Oops, something went wrong.
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,24 @@ | ||
import React from "react"; | ||
|
||
type FontSizeIconProps = { | ||
disabled?: boolean; | ||
}; | ||
|
||
export const FontSizeIcon = (props: FontSizeIconProps) => { | ||
const { disabled = false } = props; | ||
return ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 24 24" | ||
height="16px" | ||
width="16px" | ||
fill={disabled ? "#a0a0a0" : ""} | ||
className="rt-icon" | ||
> | ||
<path | ||
d="m13.5004086 16.493803 2.4079342-7.22380254h2.1812571l2.9104001 8.72502844h-1.9680411l-.5686369-1.9267771h-2.9665097l-.6427438 1.9267771h-.8528973l.0016582.0049711h-2.7067526l-.7820768-2.65h-4.08l-.884 2.65h-2.55l4-12h3zm-6.5004086-3.493803h3l-1.504-4zm8.9083428 1.3596004h2.1812571l-1.0935369-2.9083428z" | ||
fillRule="evenodd" | ||
/> | ||
</svg> | ||
); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,29 @@ | ||
import React from "react"; | ||
|
||
type HighlighterIconProps = { | ||
disabled?: boolean; | ||
}; | ||
|
||
export const HighlighterIcon = (props: HighlighterIconProps) => { | ||
const { disabled = false } = props; | ||
return ( | ||
<svg | ||
viewBox="0 0 1024 1024" | ||
height="16px" | ||
width="16px" | ||
xmlns="http://www.w3.org/2000/svg" | ||
fill={disabled ? "#a0a0a0" : "#000000"} | ||
className="rt-icon" | ||
> | ||
<g strokeWidth="0"></g> | ||
<g strokeLinecap="round" strokeLinejoin="round"></g> | ||
<g> | ||
<path | ||
fill="#fff" | ||
d="M229.6 796.3h160.2l54.3-54.1-80.1-78.9zm220.7-397.1l262.8 258.9 147.3-145-262.8-259zm-77.1 166.1l171.4 168.9 68.6-67.6-171.4-168.9z" | ||
></path> | ||
<path d="M957.6 507.5L603.2 158.3a7.9 7.9 0 0 0-11.2 0L353.3 393.5a8.03 8.03 0 0 0-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 0 0-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8v55.2c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6L539 830a7.9 7.9 0 0 0 11.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0 0 11.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2zM389.8 796.3H229.6l134.4-133 80.1 78.9-54.3 54.1zm154.8-62.1L373.2 565.3l68.6-67.6 171.4 168.9-68.6 67.6zm168.5-76.1L450.3 399.2l147.3-145.1 262.8 259-147.3 145z"></path> | ||
</g> | ||
</svg> | ||
); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,15 @@ | ||
import React from "react"; | ||
|
||
export const InsertIcon = () => { | ||
return ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 1030.29 1063.18" | ||
height="16px" | ||
width="16px" | ||
className="rt-icon" | ||
> | ||
<path d="M518.29 21.333c282.674.127 511.777 229.308 511.777 512 0 141.273-57.217 269.182-149.74 361.818l.004-.004C787.095 991.616 656.54 1051.51 512 1051.51c-282.77 0-512-229.23-512-512 0-144.484 59.848-274.99 156.107-368.08l.143-.138c92.14-92.633 219.696-149.96 360.64-149.96h1.477-.076zm0 955.733c245.067 0 443.733-198.666 443.733-443.733S763.357 89.6 518.29 89.6 74.557 288.266 74.557 533.333c.285 244.952 198.78 443.448 443.705 443.733h.028zm260.78-409.6H257.51V499.2H779.07zM552.422 794.112h-68.267V272.555h68.267z" /> | ||
</svg> | ||
); | ||
}; |
This file was deleted.
Oops, something went wrong.
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,22 @@ | ||
import React from "react"; | ||
|
||
type LinkIconProps = { | ||
disabled?: boolean; | ||
}; | ||
|
||
export const LinkIcon = (props: LinkIconProps) => { | ||
const { disabled = false } = props; | ||
return ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 24 24" | ||
height="16px" | ||
width="16px" | ||
fill={disabled ? "#a0a0a0" : ""} | ||
className="rt-icon" | ||
> | ||
<path d="M0 0h24v24H0V0z" fill="none" /> | ||
<path d="M3.96 11.38C4.24 9.91 5.62 8.9 7.12 8.9h2.93c.52 0 .95-.43.95-.95S10.57 7 10.05 7H7.22c-2.61 0-4.94 1.91-5.19 4.51C1.74 14.49 4.08 17 7 17h3.05c.52 0 .95-.43.95-.95s-.43-.95-.95-.95H7c-1.91 0-3.42-1.74-3.04-3.72zM9 13h6c.55 0 1-.45 1-1s-.45-1-1-1H9c-.55 0-1 .45-1 1s.45 1 1 1zm7.78-6h-2.83c-.52 0-.95.43-.95.95s.43.95.95.95h2.93c1.5 0 2.88 1.01 3.16 2.48.38 1.98-1.13 3.72-3.04 3.72h-3.05c-.52 0-.95.43-.95.95s.43.95.95.95H17c2.92 0 5.26-2.51 4.98-5.49-.25-2.6-2.59-4.51-5.2-4.51z" /> | ||
</svg> | ||
); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.