Skip to content

Commit b8610ab

Browse files
committed
RTE formatbar (wip)
1 parent 9b8e127 commit b8610ab

13 files changed

Lines changed: 243 additions & 2 deletions

‎src/skins/vector/css/matrix-react-sdk/views/rooms/MessageComposer.css‎

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@ limitations under the License.
6565
font-size: 14px;
6666
margin-right: 6px;
6767
}
68-
.mx_MessageComposer_input_rte {
69-
border-top: 2px solid #76cfa6; /* placeholder RTE indicator */
68+
69+
.mx_MessageComposer_input_empty .public-DraftEditorPlaceholder-root {
70+
display: none;
7071
}
7172

7273
.mx_MessageComposer_input .DraftEditor-root {
@@ -122,3 +123,25 @@ limitations under the License.
122123
pointer-events: none;
123124
}
124125

126+
.mx_MessageComposer_formatbar {
127+
display: flex;
128+
129+
height: 30px;
130+
width: 100%;
131+
background-color: #f7f7f7;
132+
box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.08);
133+
134+
box-sizing: border-box;
135+
padding-left: 62px;
136+
137+
flex-direction: row;
138+
align-items: center;
139+
}
140+
141+
.mx_MessageComposer_formatbar * {
142+
margin-right: 4px;
143+
}
144+
145+
.mx_MessageComposer_format_button {
146+
cursor: pointer;
147+
}
Lines changed: 17 additions & 0 deletions
Loading
Lines changed: 17 additions & 0 deletions
Loading
Lines changed: 20 additions & 0 deletions
Loading
Lines changed: 20 additions & 0 deletions
Loading
Lines changed: 18 additions & 0 deletions
Loading
Lines changed: 17 additions & 0 deletions
Loading
Lines changed: 17 additions & 0 deletions
Loading
Lines changed: 20 additions & 0 deletions
Loading
Lines changed: 20 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)