Add mentions as links to rte (#10463)
* adds autocomplete behaviour for mentions in rich text editor * allows adding mentions as links * adds tests
This commit is contained in:
parent
212977c4ac
commit
6f791d28c8
11 changed files with 585 additions and 23 deletions
|
@ -84,3 +84,10 @@ limitations under the License.
|
|||
border-color: $quaternary-content;
|
||||
}
|
||||
}
|
||||
|
||||
.mx_SendWysiwygComposer_AutoCompleteWrapper {
|
||||
position: relative;
|
||||
> .mx_Autocomplete {
|
||||
min-width: 100%;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -100,6 +100,11 @@ limitations under the License.
|
|||
padding: unset;
|
||||
}
|
||||
}
|
||||
|
||||
/* this selector represents what will become a pill */
|
||||
a[data-mention-type] {
|
||||
cursor: text;
|
||||
}
|
||||
}
|
||||
|
||||
.mx_WysiwygComposer_Editor_content_placeholder::before {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue