.textEditor-toolbar-overlay {
	.type-name {
		margin-left: 10px;
	}
}

.img-align-box {
	padding: 2px 0;
	background: #ffffff;
	border: 1px solid #d9d9d9;
	box-shadow: 2px 2px 5px #e8e8e8;
	z-index: 2;
	.ant-btn {
		border: 0;
		box-shadow: none;
		background: none;
	}
	.zoom-select {
		width: 90px;
		text-align: center;
		color: #000000a6;
		.ant-select-selector {
			padding: 0 8px !important;
		}
		.ant-select-arrow {
			font-size: 12px;
			color: #000000a6;
		}
	}
}

.link-modal-box {
	padding: 2px 8px;
	background: #ffffff;
	border: 1px solid #d9d9d9;
	box-shadow: 2px 2px 5px #e8e8e8;
	a {
		margin-right: 8px;
	}
	.ant-btn {
		border: 0;
		box-shadow: none;
		background: none;
		padding: 0;
	}
	.ant-input {
		width: 160px;
		border: none;
		margin-right: 6px;
	}
}

.link-item-layout {
	display: flex;
	margin-bottom: 20px;
	.item-label {
		display: inline-block;
		width: 100px;
		line-height: 31px;
	}
}

.czi-table-grid-size-editor {
	background: #fff;
	/* // box-shadow: 0 1px 2px rgba(0, 0, 0, 0.46); */
	font-size: 13px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.czi-table-grid-size-editor-body {
	position: relative;
}

/* // .czi-table-grid-size-editor-body::after {
//     background: rgba(0, 0, 0, 0);
//     bottom: -50px;
//     content: "";
//     left: 0;
//     position: absolute;
//     right: -50px;
//     top: -50px;
// } */

.table-grid-size-editor-cell {
	border: solid 1px #ccc;
	box-sizing: border-box;
	position: absolute;
	z-index: 2;
}

.table-grid-size-editor-cell.selected {
	background: rgba(152, 204, 253, 0.4);
	border-color: rgba(152, 204, 253, 0.8);
}

.czi-table-grid-size-editor-footer {
	height: 30px;
	line-height: 30px;
	padding-bottom: 5px;
	text-align: center;
}

.table-menu {
	font-size: 13px;
	border: 1px solid #f0f0f0;
	.ant-menu-submenu > .ant-menu-submenu-title,
	.ant-menu-item {
		height: 30px;
		line-height: 30px;
		margin: 0;
	}
}

.ProseMirror .octicon {
	display: inline-block;
	fill: currentColor;
	vertical-align: text-bottom;
}

.ProseMirror .anchor {
	float: left;
	line-height: 1;
	margin-left: -20px;
	padding-right: 4px;
}

.ProseMirror .anchor:focus {
	outline: none;
}

.ProseMirror h1 .octicon-link,
.ProseMirror h2 .octicon-link,
.ProseMirror h3 .octicon-link,
.ProseMirror h4 .octicon-link,
.ProseMirror h5 .octicon-link,
.ProseMirror h6 .octicon-link {
	color: #1b1f23;
	vertical-align: middle;
	visibility: hidden;
}

.ProseMirror h1:hover .anchor,
.ProseMirror h2:hover .anchor,
.ProseMirror h3:hover .anchor,
.ProseMirror h4:hover .anchor,
.ProseMirror h5:hover .anchor,
.ProseMirror h6:hover .anchor {
	text-decoration: none;
}

.ProseMirror h1:hover .anchor .octicon-link,
.ProseMirror h2:hover .anchor .octicon-link,
.ProseMirror h3:hover .anchor .octicon-link,
.ProseMirror h4:hover .anchor .octicon-link,
.ProseMirror h5:hover .anchor .octicon-link,
.ProseMirror h6:hover .anchor .octicon-link {
	visibility: visible;
}

.ProseMirror h1:hover .anchor .octicon-link:before,
.ProseMirror h2:hover .anchor .octicon-link:before,
.ProseMirror h3:hover .anchor .octicon-link:before,
.ProseMirror h4:hover .anchor .octicon-link:before,
.ProseMirror h5:hover .anchor .octicon-link:before,
.ProseMirror h6:hover .anchor .octicon-link:before {
	width: 16px;
	height: 16px;
	content: " ";
	display: inline-block;
	background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 version=%271.1%27 width=%2716%27 height=%2716%27 aria-hidden=%27true%27%3E%3Cpath fill-rule=%27evenodd%27 d=%27M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z%27%3E%3C/path%3E%3C/svg%3E");
}

.ProseMirror {
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	line-height: 1.5;
	color: #24292e;
	font-size: 16px;
	line-height: 1.5;
	word-wrap: break-word;
}

.ProseMirror details {
	display: block;
}

.ProseMirror summary {
	display: list-item;
}

.ProseMirror a {
	background-color: initial;
}

.ProseMirror a:active,
.ProseMirror a:hover {
	outline-width: 0;
}

.ProseMirror strong {
	font-weight: inherit;
	font-weight: bolder;
}

.ProseMirror h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

.ProseMirror img {
	border-style: none;
}

.ProseMirror code,
.ProseMirror kbd,
.ProseMirror pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

.ProseMirror hr {
	box-sizing: initial;
	height: 0;
	overflow: visible;
}

.ProseMirror input {
	font: inherit;
	margin: 0;
}

.ProseMirror input {
	overflow: visible;
}

.ProseMirror [type="checkbox"] {
	box-sizing: border-box;
	padding: 0;
}

.ProseMirror * {
	box-sizing: border-box;
}

.ProseMirror input {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

.ProseMirror a {
	color: #0366d6;
	text-decoration: none;
}

.ProseMirror a:hover {
	text-decoration: underline;
}

.ProseMirror strong {
	font-weight: 600;
}

.ProseMirror hr {
	height: 0;
	margin: 15px 0;
	overflow: hidden;
	background: transparent;
	border: 0;
	border-bottom: 1px solid #dfe2e5;
}

.ProseMirror hr:after,
.ProseMirror hr:before {
	display: table;
	content: "";
}

.ProseMirror hr:after {
	clear: both;
}

.ProseMirror table {
	border-spacing: 0;
	border-collapse: collapse;
}

.ProseMirror td,
.ProseMirror th {
	padding: 0;
}

.ProseMirror details summary {
	cursor: pointer;
}

.ProseMirror kbd {
	display: inline-block;
	padding: 3px 5px;
	font:
		11px SFMono-Regular,
		Consolas,
		Liberation Mono,
		Menlo,
		monospace;
	line-height: 10px;
	color: #444d56;
	vertical-align: middle;
	background-color: #fafbfc;
	border: 1px solid #d1d5da;
	border-radius: 3px;
	box-shadow: inset 0 -1px 0 #d1d5da;
}

.ProseMirror h1,
.ProseMirror h2,
.ProseMirror h3,
.ProseMirror h4,
.ProseMirror h5,
.ProseMirror h6 {
	margin-top: 0;
	margin-bottom: 0;
}

.ProseMirror h1 {
	font-size: 32px;
}

.ProseMirror h1,
.ProseMirror h2 {
	font-weight: 600;
}

.ProseMirror h2 {
	font-size: 24px;
}

.ProseMirror h3 {
	font-size: 20px;
}

.ProseMirror h3,
.ProseMirror h4 {
	font-weight: 600;
}

.ProseMirror h4 {
	font-size: 16px;
}

.ProseMirror h5 {
	font-size: 14px;
}

.ProseMirror h5,
.ProseMirror h6 {
	font-weight: 600;
}

.ProseMirror h6 {
	font-size: 12px;
}

.ProseMirror p {
	margin-top: 0;
	margin-bottom: 10px;
}

.ProseMirror blockquote {
	margin: 0;
}

.ProseMirror ol {
	list-style-type: decimal;
}

.ProseMirror ul {
	list-style-type: disc;
}

.ProseMirror ol,
.ProseMirror ul {
	padding-left: 0;
	margin-top: 0;
	margin-bottom: 0;
}

.ProseMirror ol ol,
.ProseMirror ul ol {
	list-style-type: lower-roman;
}

.ProseMirror ol ol ol,
.ProseMirror ol ul ol,
.ProseMirror ul ol ol,
.ProseMirror ul ul ol {
	list-style-type: lower-alpha;
}

.ProseMirror dd {
	margin-left: 0;
}

.ProseMirror code,
.ProseMirror pre {
	font-family:
		SFMono-Regular,
		Consolas,
		Liberation Mono,
		Menlo,
		monospace;
	font-size: 12px;
}

.ProseMirror pre {
	margin-top: 0;
	margin-bottom: 0;
}

.ProseMirror input::-webkit-inner-spin-button,
.ProseMirror input::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
	appearance: none;
}

.ProseMirror :checked + .radio-label {
	position: relative;
	z-index: 1;
	border-color: #0366d6;
}

.ProseMirror .border {
	border: 1px solid #e1e4e8 !important;
}

.ProseMirror .border-0 {
	border: 0 !important;
}

.ProseMirror .border-bottom {
	border-bottom: 1px solid #e1e4e8 !important;
}

.ProseMirror .rounded-1 {
	border-radius: 3px !important;
}

.ProseMirror .bg-white {
	background-color: #fff !important;
}

.ProseMirror .bg-gray-light {
	background-color: #fafbfc !important;
}

.ProseMirror .text-gray-light {
	color: #6a737d !important;
}

.ProseMirror .mb-0 {
	margin-bottom: 0 !important;
}

.ProseMirror .my-2 {
	margin-top: 8px !important;
	margin-bottom: 8px !important;
}

.ProseMirror .pl-0 {
	padding-left: 0 !important;
}

.ProseMirror .py-0 {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.ProseMirror .pl-1 {
	padding-left: 4px !important;
}

.ProseMirror .pl-2 {
	padding-left: 8px !important;
}

.ProseMirror .py-2 {
	padding-top: 8px !important;
	padding-bottom: 8px !important;
}

.ProseMirror .pl-3,
.ProseMirror .px-3 {
	padding-left: 16px !important;
}

.ProseMirror .px-3 {
	padding-right: 16px !important;
}

.ProseMirror .pl-4 {
	padding-left: 24px !important;
}

.ProseMirror .pl-5 {
	padding-left: 32px !important;
}

.ProseMirror .pl-6 {
	padding-left: 40px !important;
}

.ProseMirror .f6 {
	font-size: 12px !important;
}

.ProseMirror .lh-condensed {
	line-height: 1.25 !important;
}

.ProseMirror .text-bold {
	font-weight: 600 !important;
}

.ProseMirror .pl-c {
	color: #6a737d;
}

.ProseMirror .pl-c1,
.ProseMirror .pl-s .pl-v {
	color: #005cc5;
}

.ProseMirror .pl-e,
.ProseMirror .pl-en {
	color: #6f42c1;
}

.ProseMirror .pl-s .pl-s1,
.ProseMirror .pl-smi {
	color: #24292e;
}

.ProseMirror .pl-ent {
	color: #22863a;
}

.ProseMirror .pl-k {
	color: #d73a49;
}

.ProseMirror .pl-pds,
.ProseMirror .pl-s,
.ProseMirror .pl-s .pl-pse .pl-s1,
.ProseMirror .pl-sr,
.ProseMirror .pl-sr .pl-cce,
.ProseMirror .pl-sr .pl-sra,
.ProseMirror .pl-sr .pl-sre {
	color: #032f62;
}

.ProseMirror .pl-smw,
.ProseMirror .pl-v {
	color: #e36209;
}

.ProseMirror .pl-bu {
	color: #b31d28;
}

.ProseMirror .pl-ii {
	color: #fafbfc;
	background-color: #b31d28;
}

.ProseMirror .pl-c2 {
	color: #fafbfc;
	background-color: #d73a49;
}

.ProseMirror .pl-c2:before {
	content: "^M";
}

.ProseMirror .pl-sr .pl-cce {
	font-weight: 700;
	color: #22863a;
}

.ProseMirror .pl-ml {
	color: #735c0f;
}

.ProseMirror .pl-mh,
.ProseMirror .pl-mh .pl-en,
.ProseMirror .pl-ms {
	font-weight: 700;
	color: #005cc5;
}

.ProseMirror .pl-mi {
	font-style: italic;
	color: #24292e;
}

.ProseMirror .pl-mb {
	font-weight: 700;
	color: #24292e;
}

.ProseMirror .pl-md {
	color: #b31d28;
	background-color: #ffeef0;
}

.ProseMirror .pl-mi1 {
	color: #22863a;
	background-color: #f0fff4;
}

.ProseMirror .pl-mc {
	color: #e36209;
	background-color: #ffebda;
}

.ProseMirror .pl-mi2 {
	color: #f6f8fa;
	background-color: #005cc5;
}

.ProseMirror .pl-mdr {
	font-weight: 700;
	color: #6f42c1;
}

.ProseMirror .pl-ba {
	color: #586069;
}

.ProseMirror .pl-sg {
	color: #959da5;
}

.ProseMirror .pl-corl {
	text-decoration: underline;
	color: #032f62;
}

.ProseMirror .mb-0 {
	margin-bottom: 0 !important;
}

.ProseMirror .my-2 {
	margin-bottom: 8px !important;
}

.ProseMirror .my-2 {
	margin-top: 8px !important;
}

.ProseMirror .pl-0 {
	padding-left: 0 !important;
}

.ProseMirror .py-0 {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.ProseMirror .pl-1 {
	padding-left: 4px !important;
}

.ProseMirror .pl-2 {
	padding-left: 8px !important;
}

.ProseMirror .py-2 {
	padding-top: 8px !important;
	padding-bottom: 8px !important;
}

.ProseMirror .pl-3 {
	padding-left: 16px !important;
}

.ProseMirror .pl-4 {
	padding-left: 24px !important;
}

.ProseMirror .pl-5 {
	padding-left: 32px !important;
}

.ProseMirror .pl-6 {
	padding-left: 40px !important;
}

.ProseMirror .pl-7 {
	padding-left: 48px !important;
}

.ProseMirror .pl-8 {
	padding-left: 64px !important;
}

.ProseMirror .pl-9 {
	padding-left: 80px !important;
}

.ProseMirror .pl-10 {
	padding-left: 96px !important;
}

.ProseMirror .pl-11 {
	padding-left: 112px !important;
}

.ProseMirror .pl-12 {
	padding-left: 128px !important;
}

.ProseMirror hr {
	border-bottom-color: #eee;
}

.ProseMirror kbd {
	display: inline-block;
	padding: 3px 5px;
	font:
		11px SFMono-Regular,
		Consolas,
		Liberation Mono,
		Menlo,
		monospace;
	line-height: 10px;
	color: #444d56;
	vertical-align: middle;
	background-color: #fafbfc;
	border: 1px solid #d1d5da;
	border-radius: 3px;
	box-shadow: inset 0 -1px 0 #d1d5da;
}

.ProseMirror:after,
.ProseMirror:before {
	display: table;
	content: "";
}

.ProseMirror:after {
	clear: both;
}

.ProseMirror > :first-child {
	margin-top: 0 !important;
}

.ProseMirror > :last-child {
	margin-bottom: 0 !important;
}

.ProseMirror a:not([href]) {
	color: inherit;
	text-decoration: none;
}

.ProseMirror blockquote,
.ProseMirror details,
.ProseMirror dl,
.ProseMirror ol,
.ProseMirror p,
.ProseMirror pre,
.ProseMirror table,
.ProseMirror ul {
	margin-top: 0;
	margin-bottom: 16px;
}

.ProseMirror hr {
	height: 0.25em;
	padding: 0;
	margin: 24px 0;
	background-color: #e1e4e8;
	border: 0;
}

.ProseMirror blockquote {
	padding: 0 0 0 1em;
	color: #6a737d;
	border-left: 0;
	/* // padding: 0 1em;
	// color: #6a737d;
	// border-left: 0.25em solid #dfe2e5; */
}

.ProseMirror blockquote > :first-child {
	margin-top: 0;
}

.ProseMirror blockquote > :last-child {
	margin-bottom: 0;
}

.ProseMirror h1,
.ProseMirror h2,
.ProseMirror h3,
.ProseMirror h4,
.ProseMirror h5,
.ProseMirror h6 {
	margin-top: 24px;
	margin-bottom: 16px;
	font-weight: 600;
	line-height: 1.25;
}

.ProseMirror h1 {
	font-size: 2em;
}

/* .ProseMirror h1,
.ProseMirror h2 {
	//padding-bottom: 0.3em;
	//border-bottom: 1px solid #eaecef;
} */

.ProseMirror h2 {
	font-size: 1.5em;
}

.ProseMirror h3 {
	font-size: 1.25em;
}

.ProseMirror h4 {
	font-size: 1em;
}

.ProseMirror h5 {
	font-size: 0.875em;
}

.ProseMirror h6 {
	font-size: 0.85em;
	color: #6a737d;
}

.ProseMirror ol,
.ProseMirror ul {
	padding-left: 2em;
}

.ProseMirror ol ol,
.ProseMirror ol ul,
.ProseMirror ul ol,
.ProseMirror ul ul {
	margin-top: 0;
	margin-bottom: 0;
}

.ProseMirror li {
	word-wrap: break-all;
}

.ProseMirror li > p {
	margin-top: 16px;
}

.ProseMirror li + li {
	margin-top: 0.25em;
}

.ProseMirror dl {
	padding: 0;
}

.ProseMirror dl dt {
	padding: 0;
	margin-top: 16px;
	font-size: 1em;
	font-style: italic;
	font-weight: 600;
}

.ProseMirror dl dd {
	padding: 0 16px;
	margin-bottom: 16px;
}

.ProseMirror table {
	/* // display: block;
	// width: 100%;
	// overflow: auto; */
	border-collapse: initial;
	border-spacing: 0;
	border: 1px solid var(--czi-table-border-color);
	border-width: 0 thin thin 0;
	table-layout: fixed;
	width: 100%;
	min-width: 100% !important;
	margin: 0;
	overflow: auto;
	/* // page-break-inside: avoid; */
}

.ProseMirror table colgroup {
	width: 100%;
}

.ProseMirror table th {
	font-weight: 600;
}

.ProseMirror table td,
.ProseMirror table th {
	/* // padding: 6px 13px; */
	padding: 10px;
	border: 1px solid #dfe2e5;
	/** 这里不能用position，会导致 table 内的 hyperlink 顯示位置有問題 */
	/* // position: relative; */
	vertical-align: top;
}

.ProseMirror table td p,
.ProseMirror table th p {
	margin: 0;
}

.ProseMirror table tr {
	background-color: #fff;
	border-top: 1px solid #c6cbd1;
}

.ProseMirror table tr:nth-child(2n) {
	background-color: #f6f8fa;
}

/* Give selected cells a blue overlay */
.ProseMirror .selectedCell::after {
	background: rgba(152, 204, 253, 0.4);
	content: "";
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	pointer-events: none;
	position: absolute;
	z-index: 2;
}

.ProseMirror .prosemirror-mention-node + img.ProseMirror-separator {
	display: none;
}

.ProseMirror img {
	max-width: 100%;
	box-sizing: initial;
	background-color: #fff;
}

.ProseMirror img[data-align="img-right"] {
	float: right;
	margin-left: 20px;
}

.ProseMirror img[data-align="img-left"] {
	float: left;
	margin-right: 20px;
}

.ProseMirror img[data-align="img-center"] {
	display: block;
	margin: 0 auto;
}

.ProseMirror img[data-align="img-inline"] {
	display: inline-block;
}

.ProseMirror .selected {
	outline: 2px solid #8cf;
}

.ProseMirror code {
	padding: 0.2em 0.4em;
	margin: 0;
	font-size: 85%;
	background-color: rgba(27, 31, 35, 0.05);
	border-radius: 3px;
}

.ProseMirror pre {
	word-wrap: normal;
}

.ProseMirror pre > code {
	padding: 0;
	margin: 0;
	font-size: 100%;
	word-break: normal;
	/* // white-space: pre; */
	white-space: pre-wrap;
	background: transparent;
	border: 0;
}

.ProseMirror .highlight {
	margin-bottom: 16px;
}

.ProseMirror .highlight pre {
	margin-bottom: 0;
	word-break: normal;
}

.ProseMirror .highlight pre,
.ProseMirror pre {
	padding: 16px;
	overflow: auto;
	font-size: 85%;
	line-height: 1.45;
	background-color: #f6f8fa;
	border-radius: 3px;
}

.ProseMirror pre code {
	display: inline;
	max-width: auto;
	padding: 0;
	margin: 0;
	overflow: visible;
	line-height: inherit;
	word-wrap: normal;
	background-color: initial;
	border: 0;
}

.ProseMirror .commit-tease-sha {
	display: inline-block;
	font-family:
		SFMono-Regular,
		Consolas,
		Liberation Mono,
		Menlo,
		monospace;
	font-size: 90%;
	color: #444d56;
}

.ProseMirror .full-commit .btn-outline:not(:disabled):hover {
	color: #005cc5;
	border-color: #005cc5;
}

.ProseMirror .blob-wrapper {
	overflow-x: auto;
	overflow-y: hidden;
}

.ProseMirror .blob-wrapper-embedded {
	max-height: 240px;
	overflow-y: auto;
}

.ProseMirror .blob-num {
	width: 1%;
	min-width: 50px;
	padding-right: 10px;
	padding-left: 10px;
	font-family:
		SFMono-Regular,
		Consolas,
		Liberation Mono,
		Menlo,
		monospace;
	font-size: 12px;
	line-height: 20px;
	color: rgba(27, 31, 35, 0.3);
	text-align: right;
	white-space: nowrap;
	vertical-align: top;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.ProseMirror .blob-num:hover {
	color: rgba(27, 31, 35, 0.6);
}

.ProseMirror .blob-num:before {
	content: attr(data-line-number);
}

.ProseMirror .blob-code {
	position: relative;
	padding-right: 10px;
	padding-left: 10px;
	line-height: 20px;
	vertical-align: top;
}

.ProseMirror .blob-code-inner {
	overflow: visible;
	font-family:
		SFMono-Regular,
		Consolas,
		Liberation Mono,
		Menlo,
		monospace;
	font-size: 12px;
	color: #24292e;
	word-wrap: normal;
	white-space: pre;
}

.ProseMirror .pl-token.active,
.ProseMirror .pl-token:hover {
	cursor: pointer;
	background: #ffea7f;
}

.ProseMirror .tab-size[data-tab-size="1"] {
	-moz-tab-size: 1;
	tab-size: 1;
}

.ProseMirror .tab-size[data-tab-size="2"] {
	-moz-tab-size: 2;
	tab-size: 2;
}

.ProseMirror .tab-size[data-tab-size="3"] {
	-moz-tab-size: 3;
	tab-size: 3;
}

.ProseMirror .tab-size[data-tab-size="4"] {
	-moz-tab-size: 4;
	tab-size: 4;
}

.ProseMirror .tab-size[data-tab-size="5"] {
	-moz-tab-size: 5;
	tab-size: 5;
}

.ProseMirror .tab-size[data-tab-size="6"] {
	-moz-tab-size: 6;
	tab-size: 6;
}

.ProseMirror .tab-size[data-tab-size="7"] {
	-moz-tab-size: 7;
	tab-size: 7;
}

.ProseMirror .tab-size[data-tab-size="8"] {
	-moz-tab-size: 8;
	tab-size: 8;
}

.ProseMirror .tab-size[data-tab-size="9"] {
	-moz-tab-size: 9;
	tab-size: 9;
}

.ProseMirror .tab-size[data-tab-size="10"] {
	-moz-tab-size: 10;
	tab-size: 10;
}

.ProseMirror .tab-size[data-tab-size="11"] {
	-moz-tab-size: 11;
	tab-size: 11;
}

.ProseMirror .tab-size[data-tab-size="12"] {
	-moz-tab-size: 12;
	tab-size: 12;
}

.ProseMirror .task-list-item {
	list-style-type: none;
}

.ProseMirror .task-list-item + .task-list-item {
	margin-top: 3px;
}

.ProseMirror .task-list-item input {
	margin: 0 0.2em 0.25em -1.6em;
	vertical-align: middle;
}

.ProseMirror {
	.left {
		text-align: left;
	}

	.right {
		text-align: right;
	}

	.center {
		text-align: center;
	}

	.indent-1 {
		margin-left: 2em;
	}

	.indent-2 {
		margin-left: 4em;
	}

	.indent-3 {
		margin-left: 6em;
	}

	.indent-4 {
		margin-left: 8em;
	}

	.indent-5 {
		margin-left: 10em;
	}

	.indent-6 {
		margin-left: 12em;
	}

	.indent-7 {
		margin-left: 14em;
	}

	.indent-8 {
		margin-left: 16em;
	}

	.indent-9 {
		margin-left: 18em;
	}

	.indent-10 {
		margin-left: 20em;
	}

	.insert-alert {
		position: relative;
		padding: 15px 15px 15px 63px;
		color: rgba(0, 0, 0, 0.65);
		line-height: 1.5715;
		border-radius: 2px;
		margin-bottom: 16px;
	}

	.insert-alert[data-alertType="info"] {
		background-color: #e6f7ff;
		border: 1px solid #91d5ff;
	}

	.insert-alert[data-alertType="warning"] {
		background-color: #fffbe6;
		border: 1px solid #ffe58f;
	}

	.insert-alert img {
		width: 20px;
		height: 20px;
		background: transparent;
		position: absolute;
		top: 18px;
		left: 24px;
	}
}

.image-upload-placeholder {
	margin: 0 4px;
}

.cursor-widget {
	display: inline-block;
	width: 1.5px;
	position: relative;

	&:hover {
		.cursor-user {
			display: block;
		}
	}

	.cursor-user {
		position: absolute;
		left: 0;
		top: -20px;
		color: #fff;
		padding: 0 5px;
		display: none;
	}
}

.prosemirror-mention-node {
	color: var(--reference-color);
	cursor: pointer;
	line-height: 1.714;
	font-size: 1em;
	font-weight: normal;
	word-break: break-word;
	background: var(--reference-bg-color);
	border-width: 1px;
	border-style: solid;
	border-color: transparent;
	border-image: initial;
	border-radius: var(--border-radius);
	padding: 0px 0.3em 2px 0.23em;
	margin: 0 4px;
}

.editor-toolbar {
	display: flex;
	justify-content: space-between;
	border: 1px solid hsl(0, 0%, 94%);
	/* //border-bottom: none; */
	padding: 0.65rem;
	background-color: white;
	z-index: 11;
	&.sticky {
		top: -1px;
		position: sticky;
		&.sticky-active {
			box-shadow: 0 8px 6px -6px lightgray;
		}
	}

	.toolbar-button {
		cursor: pointer;
		padding: 3px 5px;
		svg:hover,
		svg.active {
			color: #0050b3;
		}
		svg.disable {
			color: #cecece;
		}
		span.active {
			color: #0050b3;
		}
		.background-icon {
			font-size: 12px;
			background-color: #cecece;
			padding: 1px 2px;
		}
		.color-icon {
			font-size: 12px;
			display: inline-flex;
			flex-direction: column;
			span {
				margin-top: 1px;
				display: inline-block;
				width: 100%;
				height: 2px;
				background: #cecece;
			}
		}
		.heading-select {
			color: #000000a6;
			.ant-select-arrow {
				font-size: 12px;
				color: #000000a6;
				> span {
					display: flex;
					flex-direction: column;
				}
				.icon-down {
					margin-top: -4px;
				}
			}
		}
	}
}
.color-popover {
	.ant-popover-inner-content {
		padding: 4px;
	}
	.github-picker {
		border: none;
		box-shadow: none;
		> div {
			display: none;
		}
	}
}
.compactpicker_color {
	width: 260px !important;
}

/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
.ProseMirror .octicon {
  display: inline-block;
  fill: currentColor;
  vertical-align: text-bottom;
}
.ProseMirror .anchor {
  float: left;
  line-height: 1;
  margin-left: -20px;
  padding-right: 4px;
}
.ProseMirror .anchor:focus {
  outline: none;
}
.ProseMirror h1 .octicon-link, .ProseMirror h2 .octicon-link, .ProseMirror h3 .octicon-link, .ProseMirror h4 .octicon-link, .ProseMirror h5 .octicon-link, .ProseMirror h6 .octicon-link {
  color: #1b1f23;
  vertical-align: middle;
  visibility: hidden;
}
.ProseMirror h1:hover .anchor, .ProseMirror h2:hover .anchor, .ProseMirror h3:hover .anchor, .ProseMirror h4:hover .anchor, .ProseMirror h5:hover .anchor, .ProseMirror h6:hover .anchor {
  text-decoration: none;
}
.ProseMirror h1:hover .anchor .octicon-link, .ProseMirror h2:hover .anchor .octicon-link, .ProseMirror h3:hover .anchor .octicon-link, .ProseMirror h4:hover .anchor .octicon-link, .ProseMirror h5:hover .anchor .octicon-link, .ProseMirror h6:hover .anchor .octicon-link {
  visibility: visible;
}
.ProseMirror h1:hover .anchor .octicon-link:before, .ProseMirror h2:hover .anchor .octicon-link:before, .ProseMirror h3:hover .anchor .octicon-link:before, .ProseMirror h4:hover .anchor .octicon-link:before, .ProseMirror h5:hover .anchor .octicon-link:before, .ProseMirror h6:hover .anchor .octicon-link:before {
  width: 16px;
  height: 16px;
  content: " ";
  display: inline-block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 version=%271.1%27 width=%2716%27 height=%2716%27 aria-hidden=%27true%27%3E%3Cpath fill-rule=%27evenodd%27 d=%27M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z%27%3E%3C/path%3E%3C/svg%3E");
}
.ProseMirror {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  color: #24292e;
  font-size: 16px;
  line-height: 1.5;
  word-wrap: break-word;
}
.ProseMirror details {
  display: block;
}
.ProseMirror summary {
  display: list-item;
}
.ProseMirror a {
  background-color: initial;
}
.ProseMirror a:active, .ProseMirror a:hover {
  outline-width: 0;
}
.ProseMirror strong {
  font-weight: inherit;
  font-weight: bolder;
}
.ProseMirror h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
.ProseMirror img {
  border-style: none;
}
.ProseMirror code, .ProseMirror kbd, .ProseMirror pre {
  font-family: monospace, monospace;
  font-size: 1em;
}
.ProseMirror hr {
  box-sizing: initial;
  height: 0;
  overflow: visible;
}
.ProseMirror input {
  font: inherit;
  margin: 0;
}
.ProseMirror input {
  overflow: visible;
}
.ProseMirror [type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
}
.ProseMirror * {
  box-sizing: border-box;
}
.ProseMirror input {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
.ProseMirror a {
  color: #0366d6;
  text-decoration: none;
}
.ProseMirror a:hover {
  text-decoration: underline;
}
.ProseMirror strong {
  font-weight: 600;
}
.ProseMirror hr {
  height: 0;
  margin: 15px 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #dfe2e5;
}
.ProseMirror hr:after, .ProseMirror hr:before {
  display: table;
  content: "";
}
.ProseMirror hr:after {
  clear: both;
}
.ProseMirror table {
  border-spacing: 0;
  border-collapse: collapse;
}
.ProseMirror td, .ProseMirror th {
  padding: 0;
}
.ProseMirror details summary {
  cursor: pointer;
}
.ProseMirror kbd {
  display: inline-block;
  padding: 3px 5px;
  font: 11px SFMono-Regular,	Consolas,	Liberation Mono,	Menlo,	monospace;
  line-height: 10px;
  color: #444d56;
  vertical-align: middle;
  background-color: #fafbfc;
  border: 1px solid #d1d5da;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 #d1d5da;
}
.ProseMirror h1, .ProseMirror h2, .ProseMirror h3, .ProseMirror h4, .ProseMirror h5, .ProseMirror h6 {
  margin-top: 0;
  margin-bottom: 0;
}
.ProseMirror h1 {
  font-size: 32px;
}
.ProseMirror h1, .ProseMirror h2 {
  font-weight: 600;
}
.ProseMirror h2 {
  font-size: 24px;
}
.ProseMirror h3 {
  font-size: 20px;
}
.ProseMirror h3, .ProseMirror h4 {
  font-weight: 600;
}
.ProseMirror h4 {
  font-size: 16px;
}
.ProseMirror h5 {
  font-size: 14px;
}
.ProseMirror h5, .ProseMirror h6 {
  font-weight: 600;
}
.ProseMirror h6 {
  font-size: 12px;
}
.ProseMirror p {
  margin-top: 0;
  margin-bottom: 10px;
}
.ProseMirror blockquote {
  margin: 0;
}
.ProseMirror ol {
  list-style-type: decimal;
}
.ProseMirror ul {
  list-style-type: disc;
}
.ProseMirror ol, .ProseMirror ul {
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
}
.ProseMirror ol ol, .ProseMirror ul ol {
  list-style-type: lower-roman;
}
.ProseMirror ol ol ol, .ProseMirror ol ul ol, .ProseMirror ul ol ol, .ProseMirror ul ul ol {
  list-style-type: lower-alpha;
}
.ProseMirror dd {
  margin-left: 0;
}
.ProseMirror code, .ProseMirror pre {
  font-family: SFMono-Regular,	Consolas,	Liberation Mono,	Menlo,	monospace;
  font-size: 12px;
}
.ProseMirror pre {
  margin-top: 0;
  margin-bottom: 0;
}
.ProseMirror input::-webkit-inner-spin-button, .ProseMirror input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}
.ProseMirror :checked + .radio-label {
  position: relative;
  z-index: 1;
  border-color: #0366d6;
}
.ProseMirror .border {
  border: 1px solid #e1e4e8 !important;
}
.ProseMirror .border-0 {
  border: 0 !important;
}
.ProseMirror .border-bottom {
  border-bottom: 1px solid #e1e4e8 !important;
}
.ProseMirror .rounded-1 {
  border-radius: 3px !important;
}
.ProseMirror .bg-white {
  background-color: #fff !important;
}
.ProseMirror .bg-gray-light {
  background-color: #fafbfc !important;
}
.ProseMirror .text-gray-light {
  color: #6a737d !important;
}
.ProseMirror .mb-0 {
  margin-bottom: 0 !important;
}
.ProseMirror .my-2 {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}
.ProseMirror .pl-0 {
  padding-left: 0 !important;
}
.ProseMirror .py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.ProseMirror .pl-1 {
  padding-left: 4px !important;
}
.ProseMirror .pl-2 {
  padding-left: 8px !important;
}
.ProseMirror .py-2 {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
.ProseMirror .pl-3, .ProseMirror .px-3 {
  padding-left: 16px !important;
}
.ProseMirror .px-3 {
  padding-right: 16px !important;
}
.ProseMirror .pl-4 {
  padding-left: 24px !important;
}
.ProseMirror .pl-5 {
  padding-left: 32px !important;
}
.ProseMirror .pl-6 {
  padding-left: 40px !important;
}
.ProseMirror .f6 {
  font-size: 12px !important;
}
.ProseMirror .lh-condensed {
  line-height: 1.25 !important;
}
.ProseMirror .text-bold {
  font-weight: 600 !important;
}
.ProseMirror .pl-c {
  color: #6a737d;
}
.ProseMirror .pl-c1, .ProseMirror .pl-s .pl-v {
  color: #005cc5;
}
.ProseMirror .pl-e, .ProseMirror .pl-en {
  color: #6f42c1;
}
.ProseMirror .pl-s .pl-s1, .ProseMirror .pl-smi {
  color: #24292e;
}
.ProseMirror .pl-ent {
  color: #22863a;
}
.ProseMirror .pl-k {
  color: #d73a49;
}
.ProseMirror .pl-pds, .ProseMirror .pl-s, .ProseMirror .pl-s .pl-pse .pl-s1, .ProseMirror .pl-sr, .ProseMirror .pl-sr .pl-cce, .ProseMirror .pl-sr .pl-sra, .ProseMirror .pl-sr .pl-sre {
  color: #032f62;
}
.ProseMirror .pl-smw, .ProseMirror .pl-v {
  color: #e36209;
}
.ProseMirror .pl-bu {
  color: #b31d28;
}
.ProseMirror .pl-ii {
  color: #fafbfc;
  background-color: #b31d28;
}
.ProseMirror .pl-c2 {
  color: #fafbfc;
  background-color: #d73a49;
}
.ProseMirror .pl-c2:before {
  content: "^M";
}
.ProseMirror .pl-sr .pl-cce {
  font-weight: 700;
  color: #22863a;
}
.ProseMirror .pl-ml {
  color: #735c0f;
}
.ProseMirror .pl-mh, .ProseMirror .pl-mh .pl-en, .ProseMirror .pl-ms {
  font-weight: 700;
  color: #005cc5;
}
.ProseMirror .pl-mi {
  font-style: italic;
  color: #24292e;
}
.ProseMirror .pl-mb {
  font-weight: 700;
  color: #24292e;
}
.ProseMirror .pl-md {
  color: #b31d28;
  background-color: #ffeef0;
}
.ProseMirror .pl-mi1 {
  color: #22863a;
  background-color: #f0fff4;
}
.ProseMirror .pl-mc {
  color: #e36209;
  background-color: #ffebda;
}
.ProseMirror .pl-mi2 {
  color: #f6f8fa;
  background-color: #005cc5;
}
.ProseMirror .pl-mdr {
  font-weight: 700;
  color: #6f42c1;
}
.ProseMirror .pl-ba {
  color: #586069;
}
.ProseMirror .pl-sg {
  color: #959da5;
}
.ProseMirror .pl-corl {
  text-decoration: underline;
  color: #032f62;
}
.ProseMirror .mb-0 {
  margin-bottom: 0 !important;
}
.ProseMirror .my-2 {
  margin-bottom: 8px !important;
}
.ProseMirror .my-2 {
  margin-top: 8px !important;
}
.ProseMirror .pl-0 {
  padding-left: 0 !important;
}
.ProseMirror .py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.ProseMirror .pl-1 {
  padding-left: 4px !important;
}
.ProseMirror .pl-2 {
  padding-left: 8px !important;
}
.ProseMirror .py-2 {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
.ProseMirror .pl-3 {
  padding-left: 16px !important;
}
.ProseMirror .pl-4 {
  padding-left: 24px !important;
}
.ProseMirror .pl-5 {
  padding-left: 32px !important;
}
.ProseMirror .pl-6 {
  padding-left: 40px !important;
}
.ProseMirror .pl-7 {
  padding-left: 48px !important;
}
.ProseMirror .pl-8 {
  padding-left: 64px !important;
}
.ProseMirror .pl-9 {
  padding-left: 80px !important;
}
.ProseMirror .pl-10 {
  padding-left: 96px !important;
}
.ProseMirror .pl-11 {
  padding-left: 112px !important;
}
.ProseMirror .pl-12 {
  padding-left: 128px !important;
}
.ProseMirror hr {
  border-bottom-color: #eee;
}
.ProseMirror kbd {
  display: inline-block;
  padding: 3px 5px;
  font: 11px SFMono-Regular,	Consolas,	Liberation Mono,	Menlo,	monospace;
  line-height: 10px;
  color: #444d56;
  vertical-align: middle;
  background-color: #fafbfc;
  border: 1px solid #d1d5da;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 #d1d5da;
}
.ProseMirror:after, .ProseMirror:before {
  display: table;
  content: "";
}
.ProseMirror:after {
  clear: both;
}
.ProseMirror > :first-child {
  margin-top: 0 !important;
}
.ProseMirror > :last-child {
  margin-bottom: 0 !important;
}
.ProseMirror a:not([href]) {
  color: inherit;
  text-decoration: none;
}
.ProseMirror blockquote, .ProseMirror details, .ProseMirror dl, .ProseMirror ol, .ProseMirror p, .ProseMirror pre, .ProseMirror table, .ProseMirror ul {
  margin-top: 0;
  margin-bottom: 16px;
}
.ProseMirror hr {
  height: 0.25em;
  padding: 0;
  margin: 24px 0;
  background-color: #e1e4e8;
  border: 0;
}
.ProseMirror blockquote {
  padding: 0 0 0 1em;
  color: #6a737d;
  border-left: 0;
}
.ProseMirror blockquote > :first-child {
  margin-top: 0;
}
.ProseMirror blockquote > :last-child {
  margin-bottom: 0;
}
.ProseMirror h1, .ProseMirror h2, .ProseMirror h3, .ProseMirror h4, .ProseMirror h5, .ProseMirror h6 {
  margin-top: 24px;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.25;
}
.ProseMirror h1 {
  font-size: 2em;
}
.ProseMirror h2 {
  font-size: 1.5em;
}
.ProseMirror h3 {
  font-size: 1.25em;
}
.ProseMirror h4 {
  font-size: 1em;
}
.ProseMirror h5 {
  font-size: 0.875em;
}
.ProseMirror h6 {
  font-size: 0.85em;
  color: #6a737d;
}
.ProseMirror ol, .ProseMirror ul {
  padding-left: 2em;
}
.ProseMirror ol ol, .ProseMirror ol ul, .ProseMirror ul ol, .ProseMirror ul ul {
  margin-top: 0;
  margin-bottom: 0;
}
.ProseMirror li {
  word-wrap: break-all;
}
.ProseMirror li > p {
  margin-top: 16px;
}
.ProseMirror li + li {
  margin-top: 0.25em;
}
.ProseMirror dl {
  padding: 0;
}
.ProseMirror dl dt {
  padding: 0;
  margin-top: 16px;
  font-size: 1em;
  font-style: italic;
  font-weight: 600;
}
.ProseMirror dl dd {
  padding: 0 16px;
  margin-bottom: 16px;
}
.ProseMirror table {
  border-collapse: initial;
  border-spacing: 0;
  border: 1px solid var(--czi-table-border-color);
  border-width: 0 thin thin 0;
  table-layout: fixed;
  width: 100%;
  min-width: 100% !important;
  margin: 0;
  overflow: auto;
}
.ProseMirror table colgroup {
  width: 100%;
}
.ProseMirror table th {
  font-weight: 600;
}
.ProseMirror table td, .ProseMirror table th {
  padding: 10px;
  border: 1px solid #dfe2e5;
  vertical-align: top;
}
.ProseMirror table td p, .ProseMirror table th p {
  margin: 0;
}
.ProseMirror table tr {
  background-color: #fff;
  border-top: 1px solid #c6cbd1;
}
.ProseMirror table tr:nth-child(2n) {
  background-color: #f6f8fa;
}
.ProseMirror .selectedCell::after {
  background: rgba(152, 204, 253, 0.4);
  content: "";
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}
.ProseMirror .prosemirror-mention-node + img.ProseMirror-separator {
  display: none;
}
.ProseMirror img {
  max-width: 100%;
  box-sizing: initial;
  background-color: #fff;
}
.ProseMirror img[data-align="img-right"] {
  float: right;
  margin-left: 20px;
}
.ProseMirror img[data-align="img-left"] {
  float: left;
  margin-right: 20px;
}
.ProseMirror img[data-align="img-center"] {
  display: block;
  margin: 0 auto;
}
.ProseMirror img[data-align="img-inline"] {
  display: inline-block;
}
.ProseMirror .selected {
  outline: 2px solid #8cf;
}
.ProseMirror code {
  padding: 0.2em 0.4em;
  margin: 0;
  font-size: 85%;
  background-color: rgba(27, 31, 35, 0.05);
  border-radius: 3px;
}
.ProseMirror pre {
  word-wrap: normal;
}
.ProseMirror pre > code {
  padding: 0;
  margin: 0;
  font-size: 100%;
  word-break: normal;
  white-space: pre-wrap;
  background: transparent;
  border: 0;
}
.ProseMirror .highlight {
  margin-bottom: 16px;
}
.ProseMirror .highlight pre {
  margin-bottom: 0;
  word-break: normal;
}
.ProseMirror .highlight pre, .ProseMirror pre {
  padding: 16px;
  overflow: auto;
  font-size: 85%;
  line-height: 1.45;
  background-color: #f6f8fa;
  border-radius: 3px;
}
.ProseMirror pre code {
  display: inline;
  max-width: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  line-height: inherit;
  word-wrap: normal;
  background-color: initial;
  border: 0;
}
.ProseMirror .commit-tease-sha {
  display: inline-block;
  font-family: SFMono-Regular,	Consolas,	Liberation Mono,	Menlo,	monospace;
  font-size: 90%;
  color: #444d56;
}
.ProseMirror .full-commit .btn-outline:not(:disabled):hover {
  color: #005cc5;
  border-color: #005cc5;
}
.ProseMirror .blob-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
}
.ProseMirror .blob-wrapper-embedded {
  max-height: 240px;
  overflow-y: auto;
}
.ProseMirror .blob-num {
  width: 1%;
  min-width: 50px;
  padding-right: 10px;
  padding-left: 10px;
  font-family: SFMono-Regular,	Consolas,	Liberation Mono,	Menlo,	monospace;
  font-size: 12px;
  line-height: 20px;
  color: rgba(27, 31, 35, 0.3);
  text-align: right;
  white-space: nowrap;
  vertical-align: top;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.ProseMirror .blob-num:hover {
  color: rgba(27, 31, 35, 0.6);
}
.ProseMirror .blob-num:before {
  content: attr(data-line-number);
}
.ProseMirror .blob-code {
  position: relative;
  padding-right: 10px;
  padding-left: 10px;
  line-height: 20px;
  vertical-align: top;
}
.ProseMirror .blob-code-inner {
  overflow: visible;
  font-family: SFMono-Regular,	Consolas,	Liberation Mono,	Menlo,	monospace;
  font-size: 12px;
  color: #24292e;
  word-wrap: normal;
  white-space: pre;
}
.ProseMirror .pl-token.active, .ProseMirror .pl-token:hover {
  cursor: pointer;
  background: #ffea7f;
}
.ProseMirror .tab-size[data-tab-size="1"] {
  -moz-tab-size: 1;
  tab-size: 1;
}
.ProseMirror .tab-size[data-tab-size="2"] {
  -moz-tab-size: 2;
  tab-size: 2;
}
.ProseMirror .tab-size[data-tab-size="3"] {
  -moz-tab-size: 3;
  tab-size: 3;
}
.ProseMirror .tab-size[data-tab-size="4"] {
  -moz-tab-size: 4;
  tab-size: 4;
}
.ProseMirror .tab-size[data-tab-size="5"] {
  -moz-tab-size: 5;
  tab-size: 5;
}
.ProseMirror .tab-size[data-tab-size="6"] {
  -moz-tab-size: 6;
  tab-size: 6;
}
.ProseMirror .tab-size[data-tab-size="7"] {
  -moz-tab-size: 7;
  tab-size: 7;
}
.ProseMirror .tab-size[data-tab-size="8"] {
  -moz-tab-size: 8;
  tab-size: 8;
}
.ProseMirror .tab-size[data-tab-size="9"] {
  -moz-tab-size: 9;
  tab-size: 9;
}
.ProseMirror .tab-size[data-tab-size="10"] {
  -moz-tab-size: 10;
  tab-size: 10;
}
.ProseMirror .tab-size[data-tab-size="11"] {
  -moz-tab-size: 11;
  tab-size: 11;
}
.ProseMirror .tab-size[data-tab-size="12"] {
  -moz-tab-size: 12;
  tab-size: 12;
}
.ProseMirror .task-list-item {
  list-style-type: none;
}
.ProseMirror .task-list-item + .task-list-item {
  margin-top: 3px;
}
.ProseMirror .task-list-item input {
  margin: 0 0.2em 0.25em -1.6em;
  vertical-align: middle;
}
.ProseMirror {
  .left {
    text-align: left;
  }
  .right {
    text-align: right;
  }
  .center {
    text-align: center;
  }
  .indent-1 {
    margin-left: 2em;
  }
  .indent-2 {
    margin-left: 4em;
  }
  .indent-3 {
    margin-left: 6em;
  }
  .indent-4 {
    margin-left: 8em;
  }
  .indent-5 {
    margin-left: 10em;
  }
  .indent-6 {
    margin-left: 12em;
  }
  .indent-7 {
    margin-left: 14em;
  }
  .indent-8 {
    margin-left: 16em;
  }
  .indent-9 {
    margin-left: 18em;
  }
  .indent-10 {
    margin-left: 20em;
  }
  .insert-alert {
    position: relative;
    padding: 15px 15px 15px 63px;
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.5715;
    border-radius: 2px;
    margin-bottom: 16px;
  }
  .insert-alert[data-alertType="info"] {
    background-color: #e6f7ff;
    border: 1px solid #91d5ff;
  }
  .insert-alert[data-alertType="warning"] {
    background-color: #fffbe6;
    border: 1px solid #ffe58f;
  }
  .insert-alert img {
    width: 20px;
    height: 20px;
    background: transparent;
    position: absolute;
    top: 18px;
    left: 24px;
  }
}
.image-upload-placeholder {
  margin: 0 4px;
}
.cursor-widget {
  display: inline-block;
  width: 1.5px;
  position: relative;
  &:hover {
    .cursor-user {
      display: block;
    }
  }
  .cursor-user {
    position: absolute;
    left: 0;
    top: -20px;
    color: #fff;
    padding: 0 5px;
    display: none;
  }
}
.prosemirror-mention-node {
  color: var(--reference-color);
  cursor: pointer;
  line-height: 1.714;
  font-size: 1em;
  font-weight: normal;
  word-break: break-word;
  background: var(--reference-bg-color);
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
  border-image: initial;
  border-radius: var(--border-radius);
  padding: 0px 0.3em 2px 0.23em;
  margin: 0 4px;
}
.proseMirror_element {
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  .prosemirror-content {
    position: relative;
    height: 100%;
  }
  .ProseMirror-container {
    min-height: 100%;
    display: flex;
    border: 1px solid hsl(0, 0%, 94%);
    &.readonly {
      border: unset;
    }
  }
  .ProseMirror {
    flex: 1;
    outline: none;
    tab-size: 4;
    white-space: pre-wrap;
    line-height: 1.42;
    padding: 1rem 1.25rem;
    word-wrap: break-word;
  }
  .cm-editor {
    height: auto;
    min-height: 50px;
    margin: 20px 0px;
    .codeblock-toolbar {
      position: absolute;
      right: 10px;
      top: 10px;
      display: flex;
      align-items: center;
      z-index: 10;
      .ant-btn {
        padding: 4px 8px;
      }
      svg {
        font-size: 15px;
      }
    }
  }
  .placeholder::before {
    position: absolute;
    pointer-events: none;
    color: #5d5d5d;
    cursor: text;
    font-size: 14px;
    content: attr(data-placeholder);
  }
}

.lite-proseMirror {
	font-size: 14px;
	border: 1px solid #e6e6e6;
	border-radius: var(--border-radius);

	&.tool-bal-bottom {
		.editor-toolbar {
			border-bottom: none;
			border-top: 1px solid #e6e6e6;
		}
	}

	.editor-toolbar {
		padding: 3px 5px 3px 5px;
		border: none;
		border-bottom: 1px solid #e6e6e6;
		border-radius: 0;

		.toolbar-button {
			padding: 0 5px;

			&[title="Align"] {
				.ant-select {
					width: auto;
				}
			}
		}
	}

	.prosemirror-content {
		height: 120px;

		.ProseMirror-container {
			border: none;
			border-radius: 0;

			.ProseMirror {
				padding: 0.8rem 0.7rem;
			}
		}
	}
}

