reactjs-editor
Advanced tools
Comparing version
{ | ||
"name": "reactjs-editor", | ||
"version": "7.7.10", | ||
"version": "7.7.11", | ||
"description": "A simple react library that lets you highlight text, make text bold, and add comment on any text as a sticky notes", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -64,21 +64,23 @@ <h1 align="center" > | ||
``` | ||
<Editor | ||
htmlContent={`<main> | ||
<div style="border-radius:30px;width:50%;padding:30px; margin:40px auto; box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;"> | ||
<h1 style="color:blue;">Select Text Below and See the Magic</h1> | ||
<div style="display:flex;"> | ||
<aside> | ||
<p style="padding:10px;text-align:left;color:#000;line-height:25px;"> | ||
You can select any text and add comments.You can make text bold. You can use any text using color you choose.These are the feature of React Editor. You can highlight that React Editor if you want to. | ||
</p> | ||
</aside> | ||
<aside> | ||
<p style="padding:10px;text-align:left;color:#000;line-height:25px;"> | ||
HTML and CSS are fundamental tools in web development, enabling the creation of visually appealing and structured web pages.Tag in HTML is used to define paragraphs, allowing content to be organized into distinct blocks of text. | ||
</p> | ||
</aside> | ||
</div> | ||
<div> | ||
</main>`} | ||
/> | ||
/** htmlContent accepts only one element. Just wrap everything on one element **/ | ||
htmlContent={`<main> | ||
<div style="border-radius:30px;width:50%;padding:30px; margin:40px auto; box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;"> | ||
<h1 style="color:blue;">Select Text Below and See the Magic</h1> | ||
<div style="display:flex;"> | ||
<aside> | ||
<p style="padding:10px;text-align:left;color:#000;line-height:25px;"> | ||
You can select any text and add comments.You can make text bold. You can use any text using color you choose.These are the feature of React Editor. You can highlight that React Editor if you want to. | ||
</p> | ||
</aside> | ||
<aside> | ||
<p style="padding:10px;text-align:left;color:#000;line-height:25px;"> | ||
HTML and CSS are fundamental tools in web development, enabling the creation of visually appealing and structured web pages.Tag in HTML is used to define paragraphs, allowing content to be organized into distinct blocks of text. | ||
</p> | ||
</aside> | ||
</div> | ||
</main>` | ||
} | ||
/> | ||
@@ -85,0 +87,0 @@ ``` |
53965
0.69%226
0.89%