cake-editor 0.2.1 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/{index.js → index.jsx} +21 -11
package/package.json
CHANGED
@@ -26,37 +26,47 @@ function Editor() {
|
|
26
26
|
<div className="root">
|
27
27
|
<div className="buttons_list">
|
28
28
|
<button className="btn" id="bold" onClick={e => execute(e)}>
|
29
|
-
|
29
|
+
B
|
30
30
|
</button>
|
31
31
|
<button className="btn" id="italic" onClick={e => execute(e)}>
|
32
|
-
|
32
|
+
{/*<i className="fa-solid fa-italic"></i>*/}
|
33
|
+
I
|
33
34
|
</button>
|
34
35
|
<button className="btn" id="underline" onClick={e => execute(e)}>
|
35
|
-
|
36
|
+
{/*<i className="fa-solid fa-underline"></i>*/}
|
37
|
+
U
|
36
38
|
</button>
|
37
39
|
<button className="btn" id="justifyLeft" onClick={e => execute(e)}>
|
38
|
-
|
40
|
+
{/*<i className="fa-solid fa-align-left"></i>*/}
|
41
|
+
JL
|
39
42
|
</button>
|
40
43
|
<button className="btn" id="justifyCenter" onClick={e => execute(e)}>
|
41
|
-
|
44
|
+
{/*<i className="fa-solid fa-align-center"></i>*/}
|
45
|
+
JC
|
42
46
|
</button>
|
43
47
|
<button className="btn" id="justifyRight" onClick={e => execute(e)}>
|
44
|
-
|
48
|
+
{/*<i className="fa-solid fa-align-right"></i>*/}
|
49
|
+
JR
|
45
50
|
</button>
|
46
51
|
<button className="btn" id="justifyFull" onClick={e => execute(e)}>
|
47
|
-
|
52
|
+
{/*<i className="fa-solid fa-align-justify"></i>*/}
|
53
|
+
JF
|
48
54
|
</button>
|
49
55
|
<button className="btn" id="insertOrderedList" onClick={e => execute(e)}>
|
50
|
-
|
56
|
+
{/*<i className="fa-solid fa-list-ol"></i>*/}
|
57
|
+
OL
|
51
58
|
</button>
|
52
59
|
<button className="btn" id="insertUnorderedList" onClick={e => execute(e)}>
|
53
|
-
|
60
|
+
{/*<i className="fa-solid fa-list"></i>*/}
|
61
|
+
UL
|
54
62
|
</button>
|
55
63
|
<button className="btn" id="plus" onClick={e => execute(e)}>
|
56
|
-
|
64
|
+
{/*<i className="fa-solid fa-plus"></i>*/}
|
65
|
+
+
|
57
66
|
</button>
|
58
67
|
<button className="btn" id="minus" onClick={e => execute(e)}>
|
59
|
-
|
68
|
+
{/*<i className="fa-solid fa-minus"></i>*/}
|
69
|
+
-
|
60
70
|
</button>
|
61
71
|
|
62
72
|
</div>
|