mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
added tiptap integration with user activity feeds
This commit is contained in:
parent
0b6d510cc7
commit
b1dc5f3da1
@ -15,6 +15,7 @@ import { Icon } from "components/ui";
|
||||
// helpers
|
||||
import { renderShortDateWithYearFormat, timeAgo } from "helpers/date-time.helper";
|
||||
import { addSpaceIfCamelCase } from "helpers/string.helper";
|
||||
import Tiptap from "components/tiptap";
|
||||
// types
|
||||
// import RemirrorRichTextEditor from "components/rich-text-editor";
|
||||
|
||||
@ -250,7 +251,18 @@ export const Feeds: React.FC<any> = ({ activities }) => {
|
||||
Commented {timeAgo(activity.created_at)}
|
||||
</p>
|
||||
</div>
|
||||
{/* <div className="issue-comments-section p-0"> */}
|
||||
<div className="issue-comments-section p-0">
|
||||
<Tiptap
|
||||
value={
|
||||
activity.new_value && activity.new_value !== ""
|
||||
? activity.new_value
|
||||
: activity.old_value
|
||||
}
|
||||
editable={false}
|
||||
noBorder
|
||||
customClassName="text-xs border border-custom-border-200 bg-custom-background-100"
|
||||
/>
|
||||
{/**/}
|
||||
{/* <RemirrorRichTextEditor */}
|
||||
{/* value={ */}
|
||||
{/* activity.new_value && activity.new_value !== "" */}
|
||||
@ -261,7 +273,7 @@ export const Feeds: React.FC<any> = ({ activities }) => {
|
||||
{/* noBorder */}
|
||||
{/* customClassName="text-xs border border-custom-border-200 bg-custom-background-100" */}
|
||||
{/* /> */}
|
||||
{/* </div> */}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user