Skip to content
Permalink
Browse files

Fix rich text editor loses html formatting

  • Loading branch information
nyalldawson committed Apr 30, 2021
1 parent 54d50c6 commit a76230211a1bfe19d6122a92fafcb78d410053aa
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsrichtexteditor.cpp
@@ -237,7 +237,7 @@ QString QgsRichTextEditor::toHtml() const
switch ( mStackedWidget->currentIndex() )
{
case 0:
return mTextEdit->toPlainText();
return mTextEdit->toHtml();

case 1:
return mSourceEdit->text();

0 comments on commit a762302

Please sign in to comment.