faet: remove comments
This commit is contained in:
parent
13137e803d
commit
70d07249d3
|
|
@ -612,13 +612,6 @@ export const Editor: FC<{
|
|||
id={id}
|
||||
>
|
||||
<div className="relative cursor-text flex flex-1 flex-col">
|
||||
{/*{validateChars &&*/}
|
||||
{/* props.value.length === 0 &&*/}
|
||||
{/* pictures?.length === 0 && (*/}
|
||||
{/* <div className="px-3 text-sm bg-red-600 !text-white mb-[4px]">*/}
|
||||
{/* Your post should have at least one character or one image.*/}
|
||||
{/* </div>*/}
|
||||
{/* )}*/}
|
||||
<div {...getRootProps()} className="flex flex-1 flex-col">
|
||||
<div
|
||||
className={clsx(
|
||||
|
|
@ -761,48 +754,6 @@ export const Editor: FC<{
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/*<div className="flex">*/}
|
||||
{/* <div className="bottom-10px end-[25px]">*/}
|
||||
{/* {(props?.totalChars || 0) > 0 ? (*/}
|
||||
{/* <div*/}
|
||||
{/* className={clsx(*/}
|
||||
{/* 'text-end text-sm mt-1',*/}
|
||||
{/* valueWithoutHtml.length > props.totalChars && '!text-red-500'*/}
|
||||
{/* )}*/}
|
||||
{/* >*/}
|
||||
{/* {valueWithoutHtml.length}/{props.totalChars}*/}
|
||||
{/* </div>*/}
|
||||
{/* ) : (*/}
|
||||
{/* <div*/}
|
||||
{/* className={clsx(*/}
|
||||
{/* 'text-end text-sm mt-1 grid grid-cols-[max-content_max-content] gap-x-[5px]'*/}
|
||||
{/* )}*/}
|
||||
{/* >*/}
|
||||
{/* {selectedIntegration?.map((p) => (*/}
|
||||
{/* <Fragment key={p.integration.id}>*/}
|
||||
{/* <div*/}
|
||||
{/* className={*/}
|
||||
{/* valueWithoutHtml.length > chars?.[p.integration.id] &&*/}
|
||||
{/* '!text-red-500'*/}
|
||||
{/* }*/}
|
||||
{/* >*/}
|
||||
{/* {p.integration.name} ({capitalize(p.integration.identifier)}*/}
|
||||
{/* ):*/}
|
||||
{/* </div>*/}
|
||||
{/* <div*/}
|
||||
{/* className={*/}
|
||||
{/* valueWithoutHtml.length > chars?.[p.integration.id] &&*/}
|
||||
{/* '!text-red-500'*/}
|
||||
{/* }*/}
|
||||
{/* >*/}
|
||||
{/* {valueWithoutHtml.length}/{chars?.[p.integration.id]}*/}
|
||||
{/* </div>*/}
|
||||
{/* </Fragment>*/}
|
||||
{/* ))}*/}
|
||||
{/* </div>*/}
|
||||
{/* )}*/}
|
||||
{/* </div>*/}
|
||||
{/*</div>*/}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue