fix: add autoresize plugin in TinyMCE editor (#333)

* fix: add autoresize plugin in tinymce editor

* fix: update author label link check for annoymous
This commit is contained in:
Awais Ansari
2022-10-20 17:37:37 +05:00
committed by GitHub
parent 08d1833b39
commit 7965c3e7fc
3 changed files with 5 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ function AuthorLabel({
const className = classNames('d-flex align-items-center', labelColor);
const showUserNameAsLink = useShowLearnersTab()
&& linkToProfile && author && author !== 'anonymous';
&& linkToProfile && author && author !== intl.formatMessage(messages.anonymous);
const labelContents = (
<div className={className}>