pl-fe: remove a workaround (did this actually work?)

Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
mkljczk
2025-03-06 15:38:53 +01:00
parent 70d066aa85
commit 10cd57d3da

View File

@ -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: {