pl-fe: remove a workaround (did this actually work?)
Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
@ -130,17 +130,6 @@ const ComposeEditor = React.forwardRef<LexicalEditor, IComposeEditor>(({
|
||||
? compose.text
|
||||
: compose.textMap[compose.modified_language] || '';
|
||||
|
||||
if (!text && navigator.userAgent.includes('Ladybird/')) {
|
||||
const paragraph = $createParagraphNode();
|
||||
const textNode = $createTextNode(placeholder || intl.formatMessage(messages.placeholder));
|
||||
|
||||
paragraph.append(textNode);
|
||||
|
||||
$getRoot().clear().append(paragraph);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (isWysiwyg) {
|
||||
$createRemarkImport({
|
||||
handlers: {
|
||||
|
||||
Reference in New Issue
Block a user