@@ -612,13 +612,6 @@ export const Editor: FC<{
612612 id = { id }
613613 >
614614 < div className = "relative cursor-text flex flex-1 flex-col" >
615- { /*{validateChars &&*/ }
616- { /* props.value.length === 0 &&*/ }
617- { /* pictures?.length === 0 && (*/ }
618- { /* <div className="px-3 text-sm bg-red-600 !text-white mb-[4px]">*/ }
619- { /* Your post should have at least one character or one image.*/ }
620- { /* </div>*/ }
621- { /* )}*/ }
622615 < div { ...getRootProps ( ) } className = "flex flex-1 flex-col" >
623616 < div
624617 className = { clsx (
@@ -761,48 +754,6 @@ export const Editor: FC<{
761754 </ div >
762755 </ div >
763756 </ div >
764- { /*<div className="flex">*/ }
765- { /* <div className="bottom-10px end-[25px]">*/ }
766- { /* {(props?.totalChars || 0) > 0 ? (*/ }
767- { /* <div*/ }
768- { /* className={clsx(*/ }
769- { /* 'text-end text-sm mt-1',*/ }
770- { /* valueWithoutHtml.length > props.totalChars && '!text-red-500'*/ }
771- { /* )}*/ }
772- { /* >*/ }
773- { /* {valueWithoutHtml.length}/{props.totalChars}*/ }
774- { /* </div>*/ }
775- { /* ) : (*/ }
776- { /* <div*/ }
777- { /* className={clsx(*/ }
778- { /* 'text-end text-sm mt-1 grid grid-cols-[max-content_max-content] gap-x-[5px]'*/ }
779- { /* )}*/ }
780- { /* >*/ }
781- { /* {selectedIntegration?.map((p) => (*/ }
782- { /* <Fragment key={p.integration.id}>*/ }
783- { /* <div*/ }
784- { /* className={*/ }
785- { /* valueWithoutHtml.length > chars?.[p.integration.id] &&*/ }
786- { /* '!text-red-500'*/ }
787- { /* }*/ }
788- { /* >*/ }
789- { /* {p.integration.name} ({capitalize(p.integration.identifier)}*/ }
790- { /* ):*/ }
791- { /* </div>*/ }
792- { /* <div*/ }
793- { /* className={*/ }
794- { /* valueWithoutHtml.length > chars?.[p.integration.id] &&*/ }
795- { /* '!text-red-500'*/ }
796- { /* }*/ }
797- { /* >*/ }
798- { /* {valueWithoutHtml.length}/{chars?.[p.integration.id]}*/ }
799- { /* </div>*/ }
800- { /* </Fragment>*/ }
801- { /* ))}*/ }
802- { /* </div>*/ }
803- { /* )}*/ }
804- { /* </div>*/ }
805- { /*</div>*/ }
806757 </ div >
807758 ) ;
808759} ;
0 commit comments