cake-editor 0.2.1 → 0.3.0
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} +22 -11
package/package.json
CHANGED
@@ -26,37 +26,48 @@ 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
|
+
{/*<i className="fa-solid fa-bold"></i>*/}
|
30
|
+
B
|
30
31
|
</button>
|
31
32
|
<button className="btn" id="italic" onClick={e => execute(e)}>
|
32
|
-
|
33
|
+
{/*<i className="fa-solid fa-italic"></i>*/}
|
34
|
+
I
|
33
35
|
</button>
|
34
36
|
<button className="btn" id="underline" onClick={e => execute(e)}>
|
35
|
-
|
37
|
+
{/*<i className="fa-solid fa-underline"></i>*/}
|
38
|
+
U
|
36
39
|
</button>
|
37
40
|
<button className="btn" id="justifyLeft" onClick={e => execute(e)}>
|
38
|
-
|
41
|
+
{/*<i className="fa-solid fa-align-left"></i>*/}
|
42
|
+
JL
|
39
43
|
</button>
|
40
44
|
<button className="btn" id="justifyCenter" onClick={e => execute(e)}>
|
41
|
-
|
45
|
+
{/*<i className="fa-solid fa-align-center"></i>*/}
|
46
|
+
JC
|
42
47
|
</button>
|
43
48
|
<button className="btn" id="justifyRight" onClick={e => execute(e)}>
|
44
|
-
|
49
|
+
{/*<i className="fa-solid fa-align-right"></i>*/}
|
50
|
+
JR
|
45
51
|
</button>
|
46
52
|
<button className="btn" id="justifyFull" onClick={e => execute(e)}>
|
47
|
-
|
53
|
+
{/*<i className="fa-solid fa-align-justify"></i>*/}
|
54
|
+
JF
|
48
55
|
</button>
|
49
56
|
<button className="btn" id="insertOrderedList" onClick={e => execute(e)}>
|
50
|
-
|
57
|
+
{/*<i className="fa-solid fa-list-ol"></i>*/}
|
58
|
+
OL
|
51
59
|
</button>
|
52
60
|
<button className="btn" id="insertUnorderedList" onClick={e => execute(e)}>
|
53
|
-
|
61
|
+
{/*<i className="fa-solid fa-list"></i>*/}
|
62
|
+
UL
|
54
63
|
</button>
|
55
64
|
<button className="btn" id="plus" onClick={e => execute(e)}>
|
56
|
-
|
65
|
+
{/*<i className="fa-solid fa-plus"></i>*/}
|
66
|
+
+
|
57
67
|
</button>
|
58
68
|
<button className="btn" id="minus" onClick={e => execute(e)}>
|
59
|
-
|
69
|
+
{/*<i className="fa-solid fa-minus"></i>*/}
|
70
|
+
-
|
60
71
|
</button>
|
61
72
|
|
62
73
|
</div>
|