suneditor
Advanced tools
Comparing version 3.0.0-alpha.12 to 3.0.0-alpha.13
{ | ||
"name": "suneditor", | ||
"version": "3.0.0-alpha.12", | ||
"version": "3.0.0-alpha.13", | ||
"description": "Vanilla javascript based WYSIWYG web editor", | ||
@@ -70,2 +70,3 @@ "author": "Yi JiHong", | ||
"katex": "^0.16.7", | ||
"mathjax-full": "^3.2.2", | ||
"mini-css-extract-plugin": "^2.7.6", | ||
@@ -99,2 +100,2 @@ "prettier": "^2.8.8", | ||
] | ||
} | ||
} |
export default { | ||
redo: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.4,10.6C16.55,9 14.15,8 11.5,8C6.85,8 2.92,11.03 1.54,15.22L3.9,16C4.95,12.81 7.95,10.5 11.5,10.5C13.45,10.5 15.23,11.22 16.62,12.38L13,16H22V7L18.4,10.6Z" /></svg>', | ||
undo: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z" /></svg>', | ||
bold: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11.76 15.75"><g><path d="M6.4,3.76V19.5h6.76a5.55,5.55,0,0,0,2-.32,4.93,4.93,0,0,0,1.52-1,4.27,4.27,0,0,0,1.48-3.34,3.87,3.87,0,0,0-.69-2.37,5.74,5.74,0,0,0-.71-.83,3.44,3.44,0,0,0-1.1-.65,3.6,3.6,0,0,0,1.58-1.36,3.66,3.66,0,0,0,.53-1.93,3.7,3.7,0,0,0-1.21-2.87,4.65,4.65,0,0,0-3.25-1.1H6.4Zm2.46,6.65V5.57h3.52a4.91,4.91,0,0,1,1.36.15,2.3,2.3,0,0,1,.85.45,2.06,2.06,0,0,1,.74,1.71,2.3,2.3,0,0,1-.78,1.92,2.54,2.54,0,0,1-.86.46,4.7,4.7,0,0,1-1.32.15H8.86Zm0,7.27V12.15H12.7a4.56,4.56,0,0,1,1.38.17,3.43,3.43,0,0,1,.95.49,2.29,2.29,0,0,1,.92,2,2.73,2.73,0,0,1-.83,2.1,2.66,2.66,0,0,1-.83.58,3.25,3.25,0,0,1-1.26.2H8.86Z" transform="translate(-6.4 -3.75)"/></g></svg>', | ||
redo: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.4,10.6C16.55,9 14.15,8 11.5,8C6.85,8 2.92,11.03 1.54,15.22L3.9,16C4.95,12.81 7.95,10.5 11.5,10.5C13.45,10.5 15.23,11.22 16.62,12.38L13,16H22V7L18.4,10.6Z" /></svg>', | ||
undo: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z" /></svg>', | ||
bold: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11.76 15.75"><g><path d="M6.4,3.76V19.5h6.76a5.55,5.55,0,0,0,2-.32,4.93,4.93,0,0,0,1.52-1,4.27,4.27,0,0,0,1.48-3.34,3.87,3.87,0,0,0-.69-2.37,5.74,5.74,0,0,0-.71-.83,3.44,3.44,0,0,0-1.1-.65,3.6,3.6,0,0,0,1.58-1.36,3.66,3.66,0,0,0,.53-1.93,3.7,3.7,0,0,0-1.21-2.87,4.65,4.65,0,0,0-3.25-1.1H6.4Zm2.46,6.65V5.57h3.52a4.91,4.91,0,0,1,1.36.15,2.3,2.3,0,0,1,.85.45,2.06,2.06,0,0,1,.74,1.71,2.3,2.3,0,0,1-.78,1.92,2.54,2.54,0,0,1-.86.46,4.7,4.7,0,0,1-1.32.15H8.86Zm0,7.27V12.15H12.7a4.56,4.56,0,0,1,1.38.17,3.43,3.43,0,0,1,.95.49,2.29,2.29,0,0,1,.92,2,2.73,2.73,0,0,1-.83,2.1,2.66,2.66,0,0,1-.83.58,3.25,3.25,0,0,1-1.26.2H8.86Z" transform="translate(-6.4 -3.75)"/></g></svg>', | ||
underline: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9.78 15.74"><g><path d="M14.64,3.76h2.52v7.72a4.51,4.51,0,0,1-.59,2.31,3.76,3.76,0,0,1-1.71,1.53,6.12,6.12,0,0,1-2.64.53,5,5,0,0,1-3.57-1.18,4.17,4.17,0,0,1-1.27-3.24V3.76H9.9v7.3a3,3,0,0,0,.55,2,2.3,2.3,0,0,0,1.83.65,2.26,2.26,0,0,0,1.8-.65,3.09,3.09,0,0,0,.55-2V3.76Zm2.52,13.31V19.5H7.39V17.08h9.77Z" transform="translate(-7.38 -3.76)"/></g></svg>', | ||
italic: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10.49 15.76"><g><path d="M17.16,3.79l.37,0-.06.38-.14.52A10,10,0,0,1,16.21,5a9.37,9.37,0,0,0-1,.32,6.68,6.68,0,0,0-.25.89c-.06.31-.11.59-.14.85-.3,1.36-.52,2.41-.68,3.14l-.61,3.18L13.1,15l-.43,2.4-.12.46a.62.62,0,0,0,0,.28c.44.1.85.17,1.23.22l.68.11a4.51,4.51,0,0,1-.08.6l-.09.42a.92.92,0,0,0-.23,0l-.43,0a1.37,1.37,0,0,1-.29,0c-.13,0-.63-.08-1.49-.16l-2,0c-.28,0-.87,0-1.78.12L7,19.5l.17-.88.8-.2A6.61,6.61,0,0,0,9.19,18,2.62,2.62,0,0,0,9.61,17l.28-1.41.58-2.75.12-.66c.05-.3.11-.58.17-.86s.12-.51.17-.69l.12-.48.12-.43.31-1.6.15-.65.31-1.91V5.14a3.86,3.86,0,0,0-1.48-.29l-.38,0,.2-1.06,3.24.14.75,0c.45,0,1.18,0,2.18-.09.23,0,.46,0,.71,0Z" transform="translate(-7.04 -3.76)"/></g></svg>', | ||
strike: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 14.9"><g><path d="M12.94,13a4.27,4.27,0,0,1,1.32.58,1.46,1.46,0,0,1,.55,1.2,1.87,1.87,0,0,1-.88,1.64,4.17,4.17,0,0,1-2.35.59,4.44,4.44,0,0,1-2.74-.71,2.72,2.72,0,0,1-1-2.17H5.57a4.56,4.56,0,0,0,1.55,3.7,7,7,0,0,0,4.47,1.23,6,6,0,0,0,4.07-1.3,4.24,4.24,0,0,0,1.52-3.37,4,4,0,0,0-.26-1.4h-4ZM6.37,10.24A3.27,3.27,0,0,1,6,8.68a4,4,0,0,1,1.48-3.3,5.92,5.92,0,0,1,3.88-1.21,5.58,5.58,0,0,1,3.91,1.24,4.36,4.36,0,0,1,1.45,3.17H14.44a2.12,2.12,0,0,0-.91-1.81,4.45,4.45,0,0,0-2.44-.55,3.69,3.69,0,0,0-2,.51A1.64,1.64,0,0,0,8.3,8.22a1.3,1.3,0,0,0,.48,1.11,7,7,0,0,0,2.1.78l.28.06.28.08H6.37Zm13.09.68a.73.73,0,0,1,.49.21.66.66,0,0,1,.2.48.64.64,0,0,1-.2.48.71.71,0,0,1-.49.19H5.1a.67.67,0,0,1-.49-.19.66.66,0,0,1-.2-.48.64.64,0,0,1,.2-.48.73.73,0,0,1,.49-.21H19.46Z" transform="translate(-4.41 -4.17)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9.78 15.74"><g><path d="M14.64,3.76h2.52v7.72a4.51,4.51,0,0,1-.59,2.31,3.76,3.76,0,0,1-1.71,1.53,6.12,6.12,0,0,1-2.64.53,5,5,0,0,1-3.57-1.18,4.17,4.17,0,0,1-1.27-3.24V3.76H9.9v7.3a3,3,0,0,0,.55,2,2.3,2.3,0,0,0,1.83.65,2.26,2.26,0,0,0,1.8-.65,3.09,3.09,0,0,0,.55-2V3.76Zm2.52,13.31V19.5H7.39V17.08h9.77Z" transform="translate(-7.38 -3.76)"/></g></svg>', | ||
italic: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10.49 15.76"><g><path d="M17.16,3.79l.37,0-.06.38-.14.52A10,10,0,0,1,16.21,5a9.37,9.37,0,0,0-1,.32,6.68,6.68,0,0,0-.25.89c-.06.31-.11.59-.14.85-.3,1.36-.52,2.41-.68,3.14l-.61,3.18L13.1,15l-.43,2.4-.12.46a.62.62,0,0,0,0,.28c.44.1.85.17,1.23.22l.68.11a4.51,4.51,0,0,1-.08.6l-.09.42a.92.92,0,0,0-.23,0l-.43,0a1.37,1.37,0,0,1-.29,0c-.13,0-.63-.08-1.49-.16l-2,0c-.28,0-.87,0-1.78.12L7,19.5l.17-.88.8-.2A6.61,6.61,0,0,0,9.19,18,2.62,2.62,0,0,0,9.61,17l.28-1.41.58-2.75.12-.66c.05-.3.11-.58.17-.86s.12-.51.17-.69l.12-.48.12-.43.31-1.6.15-.65.31-1.91V5.14a3.86,3.86,0,0,0-1.48-.29l-.38,0,.2-1.06,3.24.14.75,0c.45,0,1.18,0,2.18-.09.23,0,.46,0,.71,0Z" transform="translate(-7.04 -3.76)"/></g></svg>', | ||
strike: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 14.9"><g><path d="M12.94,13a4.27,4.27,0,0,1,1.32.58,1.46,1.46,0,0,1,.55,1.2,1.87,1.87,0,0,1-.88,1.64,4.17,4.17,0,0,1-2.35.59,4.44,4.44,0,0,1-2.74-.71,2.72,2.72,0,0,1-1-2.17H5.57a4.56,4.56,0,0,0,1.55,3.7,7,7,0,0,0,4.47,1.23,6,6,0,0,0,4.07-1.3,4.24,4.24,0,0,0,1.52-3.37,4,4,0,0,0-.26-1.4h-4ZM6.37,10.24A3.27,3.27,0,0,1,6,8.68a4,4,0,0,1,1.48-3.3,5.92,5.92,0,0,1,3.88-1.21,5.58,5.58,0,0,1,3.91,1.24,4.36,4.36,0,0,1,1.45,3.17H14.44a2.12,2.12,0,0,0-.91-1.81,4.45,4.45,0,0,0-2.44-.55,3.69,3.69,0,0,0-2,.51A1.64,1.64,0,0,0,8.3,8.22a1.3,1.3,0,0,0,.48,1.11,7,7,0,0,0,2.1.78l.28.06.28.08H6.37Zm13.09.68a.73.73,0,0,1,.49.21.66.66,0,0,1,.2.48.64.64,0,0,1-.2.48.71.71,0,0,1-.49.19H5.1a.67.67,0,0,1-.49-.19.66.66,0,0,1-.2-.48.64.64,0,0,1,.2-.48.73.73,0,0,1,.49-.21H19.46Z" transform="translate(-4.41 -4.17)"/></g></svg>', | ||
subscript: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.75 14.61"><g><path d="M15.38,4.33H12.74L11.19,7c-.28.46-.51.87-.69,1.21L10.07,9h0l-.44-.8c-.22-.4-.45-.81-.71-1.23L7.34,4.33H4.68L8.26,10,4.4,16.08H7.1l1.69-2.83c.38-.63.72-1.22,1-1.78l.25-.46h0l.49.92c.24.45.48.89.74,1.32L13,16.08h2.61L11.84,10l1.77-2.84,1.77-2.85Zm4.77,13.75H17v-.15c0-.4.05-.64.16-.72a4.42,4.42,0,0,1,1.16-.31,3.3,3.3,0,0,0,1.54-.56A1.84,1.84,0,0,0,20.15,15a1.78,1.78,0,0,0-.44-1.41A2.8,2.8,0,0,0,18,13.25a2.71,2.71,0,0,0-1.69.37,1.83,1.83,0,0,0-.44,1.43v.23H17v-.23q0-.63.18-.78a1.62,1.62,0,0,1,.88-.15,1.59,1.59,0,0,1,.88.15q.18.15.18.75t-.18.75a3.58,3.58,0,0,1-1.18.33,3.33,3.33,0,0,0-1.52.51,1.57,1.57,0,0,0-.32,1.18v1.15h4.27v-.86Z" transform="translate(-4.4 -4.33)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.75 14.61"><g><path d="M15.38,4.33H12.74L11.19,7c-.28.46-.51.87-.69,1.21L10.07,9h0l-.44-.8c-.22-.4-.45-.81-.71-1.23L7.34,4.33H4.68L8.26,10,4.4,16.08H7.1l1.69-2.83c.38-.63.72-1.22,1-1.78l.25-.46h0l.49.92c.24.45.48.89.74,1.32L13,16.08h2.61L11.84,10l1.77-2.84,1.77-2.85Zm4.77,13.75H17v-.15c0-.4.05-.64.16-.72a4.42,4.42,0,0,1,1.16-.31,3.3,3.3,0,0,0,1.54-.56A1.84,1.84,0,0,0,20.15,15a1.78,1.78,0,0,0-.44-1.41A2.8,2.8,0,0,0,18,13.25a2.71,2.71,0,0,0-1.69.37,1.83,1.83,0,0,0-.44,1.43v.23H17v-.23q0-.63.18-.78a1.62,1.62,0,0,1,.88-.15,1.59,1.59,0,0,1,.88.15q.18.15.18.75t-.18.75a3.58,3.58,0,0,1-1.18.33,3.33,3.33,0,0,0-1.52.51,1.57,1.57,0,0,0-.32,1.18v1.15h4.27v-.86Z" transform="translate(-4.4 -4.33)"/></g></svg>', | ||
superscript: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.75 15.42"><g><path d="M12,13.14l3.61-5.81H12.94L11.33,10c-.28.46-.51.88-.69,1.25l-.45.83h0l-.45-.85c-.22-.41-.45-.82-.71-1.24L7.4,7.33H4.68l3.66,5.81L4.4,19.33H7.14l1.74-2.87q.58-1,1-1.83l.25-.48h0l.51.94.75,1.37,1.72,2.87h2.67l-1.92-3.09c-1.12-1.8-1.76-2.83-1.92-3.1Zm4.84-4.41h0l0,.15h3.27v.86H15.77V8.58a1.66,1.66,0,0,1,.33-1.22,3.51,3.51,0,0,1,1.56-.51,3.68,3.68,0,0,0,1.21-.34c.13-.1.19-.36.19-.77S19,5.07,18.87,5A1.63,1.63,0,0,0,18,4.8a1.58,1.58,0,0,0-.91.17c-.13.11-.19.38-.19.8V6H15.78V5.76a1.87,1.87,0,0,1,.45-1.47A2.84,2.84,0,0,1,18,3.91a2.8,2.8,0,0,1,1.72.38,1.84,1.84,0,0,1,.45,1.44,1.91,1.91,0,0,1-.34,1.35,3.24,3.24,0,0,1-1.58.57A3.69,3.69,0,0,0,17,8c-.12.1-.17.35-.17.76Z" transform="translate(-4.4 -3.91)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.75 15.42"><g><path d="M12,13.14l3.61-5.81H12.94L11.33,10c-.28.46-.51.88-.69,1.25l-.45.83h0l-.45-.85c-.22-.41-.45-.82-.71-1.24L7.4,7.33H4.68l3.66,5.81L4.4,19.33H7.14l1.74-2.87q.58-1,1-1.83l.25-.48h0l.51.94.75,1.37,1.72,2.87h2.67l-1.92-3.09c-1.12-1.8-1.76-2.83-1.92-3.1Zm4.84-4.41h0l0,.15h3.27v.86H15.77V8.58a1.66,1.66,0,0,1,.33-1.22,3.51,3.51,0,0,1,1.56-.51,3.68,3.68,0,0,0,1.21-.34c.13-.1.19-.36.19-.77S19,5.07,18.87,5A1.63,1.63,0,0,0,18,4.8a1.58,1.58,0,0,0-.91.17c-.13.11-.19.38-.19.8V6H15.78V5.76a1.87,1.87,0,0,1,.45-1.47A2.84,2.84,0,0,1,18,3.91a2.8,2.8,0,0,1,1.72.38,1.84,1.84,0,0,1,.45,1.44,1.91,1.91,0,0,1-.34,1.35,3.24,3.24,0,0,1-1.58.57A3.69,3.69,0,0,0,17,8c-.12.1-.17.35-.17.76Z" transform="translate(-4.4 -3.91)"/></g></svg>', | ||
remove_color: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.84 22.73L16.29 18.18C15.2 19.3 13.69 20 12 20C8.69 20 6 17.31 6 14C6 12.67 6.67 11.03 7.55 9.44L1.11 3L2.39 1.73L22.11 21.46L20.84 22.73M18 14C18 10 12 3.25 12 3.25S10.84 4.55 9.55 6.35L17.95 14.75C18 14.5 18 14.25 18 14Z" /></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.84 22.73L16.29 18.18C15.2 19.3 13.69 20 12 20C8.69 20 6 17.31 6 14C6 12.67 6.67 11.03 7.55 9.44L1.11 3L2.39 1.73L22.11 21.46L20.84 22.73M18 14C18 10 12 3.25 12 3.25S10.84 4.55 9.55 6.35L17.95 14.75C18 14.5 18 14.25 18 14Z" /></svg>', | ||
remove_format: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6,5V5.18L8.82,8H11.22L10.5,9.68L12.6,11.78L14.21,8H20V5H6M3.27,5L2,6.27L8.97,13.24L6.5,19H9.5L11.07,15.34L16.73,21L18,19.73L3.55,5.27L3.27,5Z" /></svg>', | ||
indent: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 12.36"><g><path d="M4.68,14.45a.27.27,0,0,1-.19-.08.3.3,0,0,1-.08-.21V9.1a.27.27,0,0,1,.08-.19.28.28,0,0,1,.2-.08.25.25,0,0,1,.19.07l2.54,2.54a.29.29,0,0,1,0,.4L4.88,14.36a.24.24,0,0,1-.2.09Zm15.19,1.12a.27.27,0,0,1,.19.08.25.25,0,0,1,.08.19v1.69a.27.27,0,0,1-.08.19.25.25,0,0,1-.19.08H4.68a.27.27,0,0,1-.19-.08.25.25,0,0,1-.08-.19V15.84a.27.27,0,0,1,.27-.27H19.87Zm0-3.38a.27.27,0,0,1,.19.08.28.28,0,0,1,.08.21v1.68a.32.32,0,0,1-.08.21.25.25,0,0,1-.19.08H10.31a.27.27,0,0,1-.19-.08.3.3,0,0,1-.08-.21V12.48a.32.32,0,0,1,.08-.21.24.24,0,0,1,.19-.08h9.56Zm0-3.37a.27.27,0,0,1,.19.08.25.25,0,0,1,.08.19v1.69a.27.27,0,0,1-.08.19.25.25,0,0,1-.19.08H10.31a.27.27,0,0,1-.27-.27V9.1a.27.27,0,0,1,.27-.27h9.56Zm.2-3.29a.28.28,0,0,1,.08.2V7.41a.32.32,0,0,1-.08.21.25.25,0,0,1-.19.08H4.68a.27.27,0,0,1-.19-.08.3.3,0,0,1-.08-.21V5.73a.32.32,0,0,1,.08-.21.25.25,0,0,1,.19-.08H19.87a.28.28,0,0,1,.2.09Z" transform="translate(-4.41 -5.44)"/></g></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6,5V5.18L8.82,8H11.22L10.5,9.68L12.6,11.78L14.21,8H20V5H6M3.27,5L2,6.27L8.97,13.24L6.5,19H9.5L11.07,15.34L16.73,21L18,19.73L3.55,5.27L3.27,5Z" /></svg>', | ||
indent: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 12.36"><g><path d="M4.68,14.45a.27.27,0,0,1-.19-.08.3.3,0,0,1-.08-.21V9.1a.27.27,0,0,1,.08-.19.28.28,0,0,1,.2-.08.25.25,0,0,1,.19.07l2.54,2.54a.29.29,0,0,1,0,.4L4.88,14.36a.24.24,0,0,1-.2.09Zm15.19,1.12a.27.27,0,0,1,.19.08.25.25,0,0,1,.08.19v1.69a.27.27,0,0,1-.08.19.25.25,0,0,1-.19.08H4.68a.27.27,0,0,1-.19-.08.25.25,0,0,1-.08-.19V15.84a.27.27,0,0,1,.27-.27H19.87Zm0-3.38a.27.27,0,0,1,.19.08.28.28,0,0,1,.08.21v1.68a.32.32,0,0,1-.08.21.25.25,0,0,1-.19.08H10.31a.27.27,0,0,1-.19-.08.3.3,0,0,1-.08-.21V12.48a.32.32,0,0,1,.08-.21.24.24,0,0,1,.19-.08h9.56Zm0-3.37a.27.27,0,0,1,.19.08.25.25,0,0,1,.08.19v1.69a.27.27,0,0,1-.08.19.25.25,0,0,1-.19.08H10.31a.27.27,0,0,1-.27-.27V9.1a.27.27,0,0,1,.27-.27h9.56Zm.2-3.29a.28.28,0,0,1,.08.2V7.41a.32.32,0,0,1-.08.21.25.25,0,0,1-.19.08H4.68a.27.27,0,0,1-.19-.08.3.3,0,0,1-.08-.21V5.73a.32.32,0,0,1,.08-.21.25.25,0,0,1,.19-.08H19.87a.28.28,0,0,1,.2.09Z" transform="translate(-4.41 -5.44)"/></g></svg>', | ||
outdent: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 12.36"><g><path d="M19.87,15.57a.27.27,0,0,1,.19.08.25.25,0,0,1,.08.19v1.69a.27.27,0,0,1-.08.19.25.25,0,0,1-.19.08H4.68a.27.27,0,0,1-.19-.08.25.25,0,0,1-.08-.19V15.84a.27.27,0,0,1,.27-.27H19.87ZM7.5,14.45a.25.25,0,0,1-.2-.09L4.76,11.84a.29.29,0,0,1,0-.4L7.3,8.9a.29.29,0,0,1,.4,0,.31.31,0,0,1,.07.2v5.06a.32.32,0,0,1-.08.21.26.26,0,0,1-.19.08ZM19.87,8.82a.27.27,0,0,1,.19.08.25.25,0,0,1,.08.19v1.69a.27.27,0,0,1-.08.19.25.25,0,0,1-.19.08H10.31a.27.27,0,0,1-.27-.27V9.1a.27.27,0,0,1,.27-.27h9.56Zm0,3.37a.27.27,0,0,1,.19.08.28.28,0,0,1,.08.21v1.68a.32.32,0,0,1-.08.21.25.25,0,0,1-.19.08H10.31a.27.27,0,0,1-.19-.08.3.3,0,0,1-.08-.21V12.48a.32.32,0,0,1,.08-.21.24.24,0,0,1,.19-.08h9.56Zm.2-6.66a.28.28,0,0,1,.08.2V7.41a.32.32,0,0,1-.08.21.25.25,0,0,1-.19.08H4.68a.27.27,0,0,1-.19-.08.3.3,0,0,1-.08-.21V5.73a.32.32,0,0,1,.08-.21.25.25,0,0,1,.19-.08H19.87a.28.28,0,0,1,.2.09Z" transform="translate(-4.41 -5.44)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 12.36"><g><path d="M19.87,15.57a.27.27,0,0,1,.19.08.25.25,0,0,1,.08.19v1.69a.27.27,0,0,1-.08.19.25.25,0,0,1-.19.08H4.68a.27.27,0,0,1-.19-.08.25.25,0,0,1-.08-.19V15.84a.27.27,0,0,1,.27-.27H19.87ZM7.5,14.45a.25.25,0,0,1-.2-.09L4.76,11.84a.29.29,0,0,1,0-.4L7.3,8.9a.29.29,0,0,1,.4,0,.31.31,0,0,1,.07.2v5.06a.32.32,0,0,1-.08.21.26.26,0,0,1-.19.08ZM19.87,8.82a.27.27,0,0,1,.19.08.25.25,0,0,1,.08.19v1.69a.27.27,0,0,1-.08.19.25.25,0,0,1-.19.08H10.31a.27.27,0,0,1-.27-.27V9.1a.27.27,0,0,1,.27-.27h9.56Zm0,3.37a.27.27,0,0,1,.19.08.28.28,0,0,1,.08.21v1.68a.32.32,0,0,1-.08.21.25.25,0,0,1-.19.08H10.31a.27.27,0,0,1-.19-.08.3.3,0,0,1-.08-.21V12.48a.32.32,0,0,1,.08-.21.24.24,0,0,1,.19-.08h9.56Zm.2-6.66a.28.28,0,0,1,.08.2V7.41a.32.32,0,0,1-.08.21.25.25,0,0,1-.19.08H4.68a.27.27,0,0,1-.19-.08.3.3,0,0,1-.08-.21V5.73a.32.32,0,0,1,.08-.21.25.25,0,0,1,.19-.08H19.87a.28.28,0,0,1,.2.09Z" transform="translate(-4.41 -5.44)"/></g></svg>', | ||
expansion: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 15.74"><g><path d="M11.8,13.06l-5.1,5.1H9.51V19.5H4.41V14.4H5.75v2.81L8.3,14.66q2.25-2.23,2.55-2.55Zm8.35-9.3v5.1H18.81V6.05l-5.1,5.1-1-1,5.1-5.1H15.05V3.76Z" transform="translate(-4.41 -3.76)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 15.74"><g><path d="M11.8,13.06l-5.1,5.1H9.51V19.5H4.41V14.4H5.75v2.81L8.3,14.66q2.25-2.23,2.55-2.55Zm8.35-9.3v5.1H18.81V6.05l-5.1,5.1-1-1,5.1-5.1H15.05V3.76Z" transform="translate(-4.41 -3.76)"/></g></svg>', | ||
reduction: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 15.74"><g><path d="M14.91,10h2.87v1.38H12.55V6.12h1.38V9l5.24-5.24.48.49.49.48ZM6.77,11.92H12v5.23H10.62V14.26L5.37,19.5l-1-1L9.63,13.3H6.77Z" transform="translate(-4.4 -3.76)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 15.74"><g><path d="M14.91,10h2.87v1.38H12.55V6.12h1.38V9l5.24-5.24.48.49.49.48ZM6.77,11.92H12v5.23H10.62V14.26L5.37,19.5l-1-1L9.63,13.3H6.77Z" transform="translate(-4.4 -3.76)"/></g></svg>', | ||
code_view: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.73 11.8"><g><path d="M8.09,7.94a.76.76,0,0,1,.53.22.72.72,0,0,1,.21.52.76.76,0,0,1-.22.54L6.18,11.63l2.43,2.44a.69.69,0,0,1,.2.51.66.66,0,0,1-.21.51.75.75,0,0,1-.51.22.63.63,0,0,1-.51-.21h0L4.63,12.15a.7.7,0,0,1-.22-.53.67.67,0,0,1,.25-.55L7.57,8.16a.82.82,0,0,1,.52-.22Zm12.05,3.69a.7.7,0,0,1-.23.52L17,15.1h0a.66.66,0,0,1-.51.21.73.73,0,0,1-.51-.22.75.75,0,0,1-.22-.51.63.63,0,0,1,.21-.51l2.43-2.44L15.92,9.22a.73.73,0,0,1-.22-.53A.74.74,0,0,1,17,8.18h0l2.91,2.91a.67.67,0,0,1,.27.54Zm-5.9-5.9a.73.73,0,0,1,.61.32.71.71,0,0,1,.07.68L11,17a1,1,0,0,1-.22.32.6.6,0,0,1-.35.16.75.75,0,0,1-.69-.26.69.69,0,0,1-.12-.72L13.56,6.23a.75.75,0,0,1,.26-.35.74.74,0,0,1,.42-.15Z" transform="translate(-4.41 -5.73)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.73 11.8"><g><path d="M8.09,7.94a.76.76,0,0,1,.53.22.72.72,0,0,1,.21.52.76.76,0,0,1-.22.54L6.18,11.63l2.43,2.44a.69.69,0,0,1,.2.51.66.66,0,0,1-.21.51.75.75,0,0,1-.51.22.63.63,0,0,1-.51-.21h0L4.63,12.15a.7.7,0,0,1-.22-.53.67.67,0,0,1,.25-.55L7.57,8.16a.82.82,0,0,1,.52-.22Zm12.05,3.69a.7.7,0,0,1-.23.52L17,15.1h0a.66.66,0,0,1-.51.21.73.73,0,0,1-.51-.22.75.75,0,0,1-.22-.51.63.63,0,0,1,.21-.51l2.43-2.44L15.92,9.22a.73.73,0,0,1-.22-.53A.74.74,0,0,1,17,8.18h0l2.91,2.91a.67.67,0,0,1,.27.54Zm-5.9-5.9a.73.73,0,0,1,.61.32.71.71,0,0,1,.07.68L11,17a1,1,0,0,1-.22.32.6.6,0,0,1-.35.16.75.75,0,0,1-.69-.26.69.69,0,0,1-.12-.72L13.56,6.23a.75.75,0,0,1,.26-.35.74.74,0,0,1,.42-.15Z" transform="translate(-4.41 -5.73)"/></g></svg>', | ||
preview: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.65 15.66"><g><path d="M16.19,14.43l2.49,2.49a.73.73,0,0,1,.21.52.67.67,0,0,1-.22.51.7.7,0,0,1-.52.22.69.69,0,0,1-.51-.21l-2.49-2.48a5.17,5.17,0,0,1-1.34.69,4.64,4.64,0,0,1-1.48.24,4.78,4.78,0,1,1,0-9.56,4.79,4.79,0,0,1,1.84.36,4.9,4.9,0,0,1,1.56,1,4.77,4.77,0,0,1,.46,6.18ZM10,14a3.3,3.3,0,0,0,2.34.93A3.37,3.37,0,0,0,14.7,14a3.3,3.3,0,0,0-1.08-5.41,3.47,3.47,0,0,0-2.56,0A3,3,0,0,0,10,9.28,3.31,3.31,0,0,0,10,14ZM16,4a3.86,3.86,0,0,1,2.77,1.14A3.9,3.9,0,0,1,20,7.85v4a.77.77,0,0,1-.22.53.7.7,0,0,1-.52.21.72.72,0,0,1-.74-.74v-4a2.46,2.46,0,0,0-.72-1.73A2.37,2.37,0,0,0,16,5.45H8.53A2.42,2.42,0,0,0,6.08,7.89v7.52a2.41,2.41,0,0,0,.71,1.73,2.46,2.46,0,0,0,1.74.72h4.08a.73.73,0,0,1,0,1.46H8.53a3.85,3.85,0,0,1-2.78-1.14A3.93,3.93,0,0,1,4.6,15.4V7.87A3.94,3.94,0,0,1,5.76,5.09,3.88,3.88,0,0,1,8.54,4H16Z" transform="translate(-4.45 -3.8)"/></g></svg>', | ||
print: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16.05 16.04"><g><path d="M19.76,15.84a1.29,1.29,0,0,0,.39-.92V8.35A2.05,2.05,0,0,0,19.57,7a1.93,1.93,0,0,0-1.38-.57H6.37a1.95,1.95,0,0,0-2,2v6.56a1.23,1.23,0,0,0,.38.92,1.35,1.35,0,0,0,.93.38h2V14.9l-2,0V8.35a.67.67,0,0,1,.18-.47.62.62,0,0,1,.48-.19H18.18a.6.6,0,0,1,.46.19.66.66,0,0,1,.18.47V14.9h-2v1.32h2A1.35,1.35,0,0,0,19.76,15.84ZM17.52,7.69V5.06a1.31,1.31,0,0,0-.38-.92,1.34,1.34,0,0,0-.94-.38H8.34A1.3,1.3,0,0,0,7,5.06V7.69H8.34V5.06h7.87V7.69h1.31ZM8.34,12.93h7.87l0,5.26H8.34V12.93Zm7.87,5.26v0Zm.65,1.31a.6.6,0,0,0,.46-.19.72.72,0,0,0,.2-.47V12.29a.74.74,0,0,0-.2-.47.6.6,0,0,0-.46-.19H7.68a.6.6,0,0,0-.46.19.72.72,0,0,0-.2.47v6.55a.74.74,0,0,0,.2.47.6.6,0,0,0,.46.19h9.18ZM16.67,9.28a.7.7,0,0,0-.94,0,.63.63,0,0,0-.18.46.67.67,0,0,0,.18.47.68.68,0,0,0,.94,0,.66.66,0,0,0,.18-.47A.58.58,0,0,0,16.67,9.28Z" transform="translate(-4.25 -3.61)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.65 15.66"><g><path d="M16.19,14.43l2.49,2.49a.73.73,0,0,1,.21.52.67.67,0,0,1-.22.51.7.7,0,0,1-.52.22.69.69,0,0,1-.51-.21l-2.49-2.48a5.17,5.17,0,0,1-1.34.69,4.64,4.64,0,0,1-1.48.24,4.78,4.78,0,1,1,0-9.56,4.79,4.79,0,0,1,1.84.36,4.9,4.9,0,0,1,1.56,1,4.77,4.77,0,0,1,.46,6.18ZM10,14a3.3,3.3,0,0,0,2.34.93A3.37,3.37,0,0,0,14.7,14a3.3,3.3,0,0,0-1.08-5.41,3.47,3.47,0,0,0-2.56,0A3,3,0,0,0,10,9.28,3.31,3.31,0,0,0,10,14ZM16,4a3.86,3.86,0,0,1,2.77,1.14A3.9,3.9,0,0,1,20,7.85v4a.77.77,0,0,1-.22.53.7.7,0,0,1-.52.21.72.72,0,0,1-.74-.74v-4a2.46,2.46,0,0,0-.72-1.73A2.37,2.37,0,0,0,16,5.45H8.53A2.42,2.42,0,0,0,6.08,7.89v7.52a2.41,2.41,0,0,0,.71,1.73,2.46,2.46,0,0,0,1.74.72h4.08a.73.73,0,0,1,0,1.46H8.53a3.85,3.85,0,0,1-2.78-1.14A3.93,3.93,0,0,1,4.6,15.4V7.87A3.94,3.94,0,0,1,5.76,5.09,3.88,3.88,0,0,1,8.54,4H16Z" transform="translate(-4.45 -3.8)"/></g></svg>', | ||
print: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16.05 16.04"><g><path d="M19.76,15.84a1.29,1.29,0,0,0,.39-.92V8.35A2.05,2.05,0,0,0,19.57,7a1.93,1.93,0,0,0-1.38-.57H6.37a1.95,1.95,0,0,0-2,2v6.56a1.23,1.23,0,0,0,.38.92,1.35,1.35,0,0,0,.93.38h2V14.9l-2,0V8.35a.67.67,0,0,1,.18-.47.62.62,0,0,1,.48-.19H18.18a.6.6,0,0,1,.46.19.66.66,0,0,1,.18.47V14.9h-2v1.32h2A1.35,1.35,0,0,0,19.76,15.84ZM17.52,7.69V5.06a1.31,1.31,0,0,0-.38-.92,1.34,1.34,0,0,0-.94-.38H8.34A1.3,1.3,0,0,0,7,5.06V7.69H8.34V5.06h7.87V7.69h1.31ZM8.34,12.93h7.87l0,5.26H8.34V12.93Zm7.87,5.26v0Zm.65,1.31a.6.6,0,0,0,.46-.19.72.72,0,0,0,.2-.47V12.29a.74.74,0,0,0-.2-.47.6.6,0,0,0-.46-.19H7.68a.6.6,0,0,0-.46.19.72.72,0,0,0-.2.47v6.55a.74.74,0,0,0,.2.47.6.6,0,0,0,.46.19h9.18ZM16.67,9.28a.7.7,0,0,0-.94,0,.63.63,0,0,0-.18.46.67.67,0,0,0,.18.47.68.68,0,0,0,.94,0,.66.66,0,0,0,.18-.47A.58.58,0,0,0,16.67,9.28Z" transform="translate(-4.25 -3.61)"/></g></svg>', | ||
template: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.27 15.64"><g><path d="M18.18,19.16a1,1,0,0,0,1-1V5.73a1,1,0,0,0-1-1h-2v1h2V18.19H6.37V5.73h2v-1h-2A.94.94,0,0,0,5.68,5a1,1,0,0,0-.29.7V18.18a.94.94,0,0,0,.29.69,1,1,0,0,0,.69.29H18.18ZM9.82,10.31h4.92a.49.49,0,0,0,.35-.15.47.47,0,0,0,.15-.35.49.49,0,0,0-.15-.35.47.47,0,0,0-.35-.15H9.82a.49.49,0,0,0-.35.15.47.47,0,0,0-.15.35.49.49,0,0,0,.15.35.47.47,0,0,0,.35.15Zm5.9,4.92H8.83a.49.49,0,0,0-.35.15.47.47,0,0,0-.15.35.49.49,0,0,0,.15.35.47.47,0,0,0,.35.15h6.89a.49.49,0,0,0,.35-.15.47.47,0,0,0,.15-.35.51.51,0,0,0-.5-.5ZM7.36,12.77a.49.49,0,0,0,.15.35.47.47,0,0,0,.35.15h8.85a.49.49,0,0,0,.35-.15.47.47,0,0,0,.15-.35.49.49,0,0,0-.15-.35.47.47,0,0,0-.35-.15H7.85a.49.49,0,0,0-.35.15.52.52,0,0,0-.14.35Z" transform="translate(-5.14 -3.77)"/><path d="M14.24,6.71a1,1,0,0,0,1-1,1,1,0,0,0-1-1,1,1,0,0,0-1-1h-2a.94.94,0,0,0-.69.28,1,1,0,0,0-.29.7A.94.94,0,0,0,9.62,5a.91.91,0,0,0-.29.69,1,1,0,0,0,.29.7,1,1,0,0,0,.69.29h3.93Z" transform="translate(-5.14 -3.77)"/></g></svg>', | ||
layout: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="5 5 36 36"><path d="M12.5 34.05h11v-3h-11Zm6-8.55h11v-3h-11Zm6-8.55h11v-3h-11ZM9 42q-1.2 0-2.1-.9Q6 40.2 6 39V9q0-1.2.9-2.1Q7.8 6 9 6h30q1.2 0 2.1.9.9.9.9 2.1v30q0 1.2-.9 2.1-.9.9-2.1.9Zm0-3h30V9H9v30ZM9 9v30V9Z"/></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.27 15.64"><g><path d="M18.18,19.16a1,1,0,0,0,1-1V5.73a1,1,0,0,0-1-1h-2v1h2V18.19H6.37V5.73h2v-1h-2A.94.94,0,0,0,5.68,5a1,1,0,0,0-.29.7V18.18a.94.94,0,0,0,.29.69,1,1,0,0,0,.69.29H18.18ZM9.82,10.31h4.92a.49.49,0,0,0,.35-.15.47.47,0,0,0,.15-.35.49.49,0,0,0-.15-.35.47.47,0,0,0-.35-.15H9.82a.49.49,0,0,0-.35.15.47.47,0,0,0-.15.35.49.49,0,0,0,.15.35.47.47,0,0,0,.35.15Zm5.9,4.92H8.83a.49.49,0,0,0-.35.15.47.47,0,0,0-.15.35.49.49,0,0,0,.15.35.47.47,0,0,0,.35.15h6.89a.49.49,0,0,0,.35-.15.47.47,0,0,0,.15-.35.51.51,0,0,0-.5-.5ZM7.36,12.77a.49.49,0,0,0,.15.35.47.47,0,0,0,.35.15h8.85a.49.49,0,0,0,.35-.15.47.47,0,0,0,.15-.35.49.49,0,0,0-.15-.35.47.47,0,0,0-.35-.15H7.85a.49.49,0,0,0-.35.15.52.52,0,0,0-.14.35Z" transform="translate(-5.14 -3.77)"/><path d="M14.24,6.71a1,1,0,0,0,1-1,1,1,0,0,0-1-1,1,1,0,0,0-1-1h-2a.94.94,0,0,0-.69.28,1,1,0,0,0-.29.7A.94.94,0,0,0,9.62,5a.91.91,0,0,0-.29.69,1,1,0,0,0,.29.7,1,1,0,0,0,.69.29h3.93Z" transform="translate(-5.14 -3.77)"/></g></svg>', | ||
layout: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="5 5 36 36"><path d="M12.5 34.05h11v-3h-11Zm6-8.55h11v-3h-11Zm6-8.55h11v-3h-11ZM9 42q-1.2 0-2.1-.9Q6 40.2 6 39V9q0-1.2.9-2.1Q7.8 6 9 6h30q1.2 0 2.1.9.9.9.9 2.1v30q0 1.2-.9 2.1-.9.9-2.1.9Zm0-3h30V9H9v30ZM9 9v30V9Z"/></svg>', | ||
new_document: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12.78 15.75"><g><path d="M14.73,3.76,18.67,7.7v9.84a2,2,0,0,1-2,2H7.84a1.89,1.89,0,0,1-1.38-.58,2,2,0,0,1-.57-1.39V5.73a1.93,1.93,0,0,1,.57-1.38,2,2,0,0,1,1.38-.58h6.62l.26,0v0Zm2.95,4.92h-2a1.93,1.93,0,0,1-1.38-.57,2,2,0,0,1-.58-1.4V6.17c0-.36,0-.84,0-1.43H7.85a1,1,0,0,0-.7.29,1,1,0,0,0-.29.7V17.54a1,1,0,0,0,.29.69,1,1,0,0,0,.69.29h8.85a1,1,0,0,0,.71-.29.92.92,0,0,0,.28-.69Zm0-1L14.73,4.74v2A1,1,0,0,0,15,7.4a1,1,0,0,0,.69.29Z" transform="translate(-5.89 -3.76)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12.78 15.75"><g><path d="M14.73,3.76,18.67,7.7v9.84a2,2,0,0,1-2,2H7.84a1.89,1.89,0,0,1-1.38-.58,2,2,0,0,1-.57-1.39V5.73a1.93,1.93,0,0,1,.57-1.38,2,2,0,0,1,1.38-.58h6.62l.26,0v0Zm2.95,4.92h-2a1.93,1.93,0,0,1-1.38-.57,2,2,0,0,1-.58-1.4V6.17c0-.36,0-.84,0-1.43H7.85a1,1,0,0,0-.7.29,1,1,0,0,0-.29.7V17.54a1,1,0,0,0,.29.69,1,1,0,0,0,.69.29h8.85a1,1,0,0,0,.71-.29.92.92,0,0,0,.28-.69Zm0-1L14.73,4.74v2A1,1,0,0,0,15,7.4a1,1,0,0,0,.69.29Z" transform="translate(-5.89 -3.76)"/></g></svg>', | ||
select_all: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9,9H15V15H9M7,17H17V7H7M15,5H17V3H15M15,21H17V19H15M19,17H21V15H19M19,9H21V7H19M19,21A2,2 0 0,0 21,19H19M19,13H21V11H19M11,21H13V19H11M9,3H7V5H9M3,17H5V15H3M5,21V19H3A2,2 0 0,0 5,21M19,3V5H21A2,2 0 0,0 19,3M13,3H11V5H13M3,9H5V7H3M7,21H9V19H7M3,13H5V11H3M3,5H5V3A2,2 0 0,0 3,5Z" /></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9,9H15V15H9M7,17H17V7H7M15,5H17V3H15M15,21H17V19H15M19,17H21V15H19M19,9H21V7H19M19,21A2,2 0 0,0 21,19H19M19,13H21V11H19M11,21H13V19H11M9,3H7V5H9M3,17H5V15H3M5,21V19H3A2,2 0 0,0 5,21M19,3V5H21A2,2 0 0,0 19,3M13,3H11V5H13M3,9H5V7H3M7,21H9V19H7M3,13H5V11H3M3,5H5V3A2,2 0 0,0 3,5Z" /></svg>', | ||
line_height: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.76 13.56"><g><path d="M4.4,4.88V8.26a2,2,0,0,0,.5.39s.1,0,.18-.12a.62.62,0,0,0,.17-.28c.06-.19.13-.44.21-.74s.14-.52.19-.66a.58.58,0,0,1,.21-.3,2.41,2.41,0,0,1,.63-.21,3.83,3.83,0,0,1,.88-.12,9.15,9.15,0,0,1,1.31.06.16.16,0,0,1,.11,0,.26.26,0,0,1,.06.14,4,4,0,0,1,0,.49v2l.05,3.77c0,1.41,0,2.68-.05,3.81a1.79,1.79,0,0,1-.11.49,10.68,10.68,0,0,1-1.4.45,1.12,1.12,0,0,0-.69.43v.31l0,.22.61,0c.85-.08,1.54-.12,2.06-.12a19.76,19.76,0,0,1,2.09.08,15.08,15.08,0,0,0,1.64.08,1.4,1.4,0,0,0,.29,0,1.58,1.58,0,0,0,0-.26l-.05-.43a2.26,2.26,0,0,0-.43-.17l-.77-.22-.15,0a2.55,2.55,0,0,1-.78-.28,2.56,2.56,0,0,1-.11-.75l0-1.29,0-3.15V7.53a10.51,10.51,0,0,1,.06-1.2,3.83,3.83,0,0,1,.6,0l1.88,0a2.18,2.18,0,0,1,.38,0,.45.45,0,0,1,.23.17.9.9,0,0,1,.05.25c0,.16.06.35.1.58a3.33,3.33,0,0,0,.14.55A6.39,6.39,0,0,0,15,9a2.91,2.91,0,0,0,.6-.15,2.77,2.77,0,0,0,0-.46l0-.51,0-2.95-.25,0-.38,0L15,4.94a.71.71,0,0,1-.18.15.45.45,0,0,1-.25.07l-.29,0H8.75l-.15,0H7.45a17,17,0,0,1-1.86,0L5.36,5l-.25-.13ZM19.75,16.14h-.69v-9h.69A.4.4,0,0,0,20.13,7c.06-.11,0-.24-.1-.39L18.92,5.15a.52.52,0,0,0-.86,0L17,6.58c-.12.15-.16.28-.1.39s.18.16.38.16h.69v9h-.69a.4.4,0,0,0-.38.16c-.06.11,0,.24.1.39l1.11,1.43a.52.52,0,0,0,.86,0L20,16.69c.12-.15.16-.28.1-.39a.4.4,0,0,0-.38-.16Z" transform="translate(-4.4 -4.86)"/></g></svg>', | ||
paragraph_style: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13,4A4,4 0 0,1 17,8A4,4 0 0,1 13,12H11V18H9V4H13M13,10A2,2 0 0,0 15,8A2,2 0 0,0 13,6H11V10H13Z" /></svg>', | ||
text_style: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3,3H16V6H11V18H8V6H3V3M12,7H14V9H12V7M15,7H17V9H15V7M18,7H20V9H18V7M12,10H14V12H12V10M12,13H14V15H12V13M12,16H14V18H12V16M12,19H14V21H12V19Z" /></svg>', | ||
save: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 15.74"><g><path d="M18.53,19.5l.2-.05A1.78,1.78,0,0,0,20.13,18l0-.09V7.14a2,2,0,0,0-.28-.64A3.18,3.18,0,0,0,19.43,6c-.5-.52-1-1-1.55-1.54A2.59,2.59,0,0,0,17.37,4a1.83,1.83,0,0,0-.61-.25H6l-.21,0a1.78,1.78,0,0,0-1.4,1.49l0,.1V17.87a2.49,2.49,0,0,0,.09.37,1.79,1.79,0,0,0,1.44,1.23l.09,0Zm-6.25-.6H6.92a.61.61,0,0,1-.68-.48.78.78,0,0,1,0-.22V12.3a.62.62,0,0,1,.69-.68H17.64a.62.62,0,0,1,.69.69V18.2a.64.64,0,0,1-.71.69H12.28ZM12,9.81H8.15a.63.63,0,0,1-.72-.71v-4a.64.64,0,0,1,.72-.72h7.66a.64.64,0,0,1,.72.72v4a.65.65,0,0,1-.74.72ZM13.5,5V9.18h1.78V5Z" transform="translate(-4.41 -3.76)"/></g></svg>', | ||
blockquote: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14,17H17L19,13V7H13V13H16M6,17H9L11,13V7H5V13H8L6,17Z" /></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.76 13.56"><g><path d="M4.4,4.88V8.26a2,2,0,0,0,.5.39s.1,0,.18-.12a.62.62,0,0,0,.17-.28c.06-.19.13-.44.21-.74s.14-.52.19-.66a.58.58,0,0,1,.21-.3,2.41,2.41,0,0,1,.63-.21,3.83,3.83,0,0,1,.88-.12,9.15,9.15,0,0,1,1.31.06.16.16,0,0,1,.11,0,.26.26,0,0,1,.06.14,4,4,0,0,1,0,.49v2l.05,3.77c0,1.41,0,2.68-.05,3.81a1.79,1.79,0,0,1-.11.49,10.68,10.68,0,0,1-1.4.45,1.12,1.12,0,0,0-.69.43v.31l0,.22.61,0c.85-.08,1.54-.12,2.06-.12a19.76,19.76,0,0,1,2.09.08,15.08,15.08,0,0,0,1.64.08,1.4,1.4,0,0,0,.29,0,1.58,1.58,0,0,0,0-.26l-.05-.43a2.26,2.26,0,0,0-.43-.17l-.77-.22-.15,0a2.55,2.55,0,0,1-.78-.28,2.56,2.56,0,0,1-.11-.75l0-1.29,0-3.15V7.53a10.51,10.51,0,0,1,.06-1.2,3.83,3.83,0,0,1,.6,0l1.88,0a2.18,2.18,0,0,1,.38,0,.45.45,0,0,1,.23.17.9.9,0,0,1,.05.25c0,.16.06.35.1.58a3.33,3.33,0,0,0,.14.55A6.39,6.39,0,0,0,15,9a2.91,2.91,0,0,0,.6-.15,2.77,2.77,0,0,0,0-.46l0-.51,0-2.95-.25,0-.38,0L15,4.94a.71.71,0,0,1-.18.15.45.45,0,0,1-.25.07l-.29,0H8.75l-.15,0H7.45a17,17,0,0,1-1.86,0L5.36,5l-.25-.13ZM19.75,16.14h-.69v-9h.69A.4.4,0,0,0,20.13,7c.06-.11,0-.24-.1-.39L18.92,5.15a.52.52,0,0,0-.86,0L17,6.58c-.12.15-.16.28-.1.39s.18.16.38.16h.69v9h-.69a.4.4,0,0,0-.38.16c-.06.11,0,.24.1.39l1.11,1.43a.52.52,0,0,0,.86,0L20,16.69c.12-.15.16-.28.1-.39a.4.4,0,0,0-.38-.16Z" transform="translate(-4.4 -4.86)"/></g></svg>', | ||
paragraph_style: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13,4A4,4 0 0,1 17,8A4,4 0 0,1 13,12H11V18H9V4H13M13,10A2,2 0 0,0 15,8A2,2 0 0,0 13,6H11V10H13Z" /></svg>', | ||
text_style: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3,3H16V6H11V18H8V6H3V3M12,7H14V9H12V7M15,7H17V9H15V7M18,7H20V9H18V7M12,10H14V12H12V10M12,13H14V15H12V13M12,16H14V18H12V16M12,19H14V21H12V19Z" /></svg>', | ||
save: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 15.74"><g><path d="M18.53,19.5l.2-.05A1.78,1.78,0,0,0,20.13,18l0-.09V7.14a2,2,0,0,0-.28-.64A3.18,3.18,0,0,0,19.43,6c-.5-.52-1-1-1.55-1.54A2.59,2.59,0,0,0,17.37,4a1.83,1.83,0,0,0-.61-.25H6l-.21,0a1.78,1.78,0,0,0-1.4,1.49l0,.1V17.87a2.49,2.49,0,0,0,.09.37,1.79,1.79,0,0,0,1.44,1.23l.09,0Zm-6.25-.6H6.92a.61.61,0,0,1-.68-.48.78.78,0,0,1,0-.22V12.3a.62.62,0,0,1,.69-.68H17.64a.62.62,0,0,1,.69.69V18.2a.64.64,0,0,1-.71.69H12.28ZM12,9.81H8.15a.63.63,0,0,1-.72-.71v-4a.64.64,0,0,1,.72-.72h7.66a.64.64,0,0,1,.72.72v4a.65.65,0,0,1-.74.72ZM13.5,5V9.18h1.78V5Z" transform="translate(-4.41 -3.76)"/></g></svg>', | ||
blockquote: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14,17H17L19,13V7H13V13H16M6,17H9L11,13V7H5V13H8L6,17Z" /></svg>', | ||
arrow_down: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.73 8.67"><g><path d="M18.79,7.52a.8.8,0,0,1,.56-.23.82.82,0,0,1,.79.79.8.8,0,0,1-.23.56l-7.07,7.07a.79.79,0,0,1-.57.25.77.77,0,0,1-.57-.25h0L4.64,8.65a.8.8,0,0,1-.23-.57.82.82,0,0,1,.79-.79.8.8,0,0,1,.56.23L12.28,14l3.26-3.26,3.25-3.26Z" transform="translate(-4.41 -7.29)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.73 8.67"><g><path d="M18.79,7.52a.8.8,0,0,1,.56-.23.82.82,0,0,1,.79.79.8.8,0,0,1-.23.56l-7.07,7.07a.79.79,0,0,1-.57.25.77.77,0,0,1-.57-.25h0L4.64,8.65a.8.8,0,0,1-.23-.57.82.82,0,0,1,.79-.79.8.8,0,0,1,.56.23L12.28,14l3.26-3.26,3.25-3.26Z" transform="translate(-4.41 -7.29)"/></g></svg>', | ||
align_justify: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 13.77"><g><path d="M4.41,4.74v2H20.15v-2H4.41Zm0,5.9H20.15v-2H4.41v2Zm0,3.94H20.15v-2H4.41v2Zm0,3.93h7.87v-2H4.41v2Z" transform="translate(-4.41 -4.74)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 13.77"><g><path d="M4.41,4.74v2H20.15v-2H4.41Zm0,5.9H20.15v-2H4.41v2Zm0,3.94H20.15v-2H4.41v2Zm0,3.93h7.87v-2H4.41v2Z" transform="translate(-4.41 -4.74)"/></g></svg>', | ||
align_left: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 13.77"><g><path d="M4.41,4.74v2H20.15v-2H4.41Zm11.8,3.94H4.41v2H16.22v-2Zm-11.8,5.9H18.18v-2H4.41v2Zm0,3.93h9.84v-2H4.41v2Z" transform="translate(-4.41 -4.74)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 13.77"><g><path d="M4.41,4.74v2H20.15v-2H4.41Zm11.8,3.94H4.41v2H16.22v-2Zm-11.8,5.9H18.18v-2H4.41v2Zm0,3.93h9.84v-2H4.41v2Z" transform="translate(-4.41 -4.74)"/></g></svg>', | ||
align_right: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 13.77"><g><path d="M4.41,4.74v2H20.15v-2H4.41Zm3.93,5.9H20.15v-2H8.34v2Zm-2,3.94H20.14v-2H6.37v2Zm3.94,3.93h9.84v-2H10.31v2Z" transform="translate(-4.41 -4.74)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 13.77"><g><path d="M4.41,4.74v2H20.15v-2H4.41Zm3.93,5.9H20.15v-2H8.34v2Zm-2,3.94H20.14v-2H6.37v2Zm3.94,3.93h9.84v-2H10.31v2Z" transform="translate(-4.41 -4.74)"/></g></svg>', | ||
align_center: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 13.77"><g><path d="M4.41,4.74v2H20.15v-2H4.41Zm2,3.94v2H18.18v-2H6.37Zm-1,5.9H19.16v-2H5.39v2Zm2,3.93H17.2v-2H7.36v2Z" transform="translate(-4.41 -4.74)"/></g></svg>', | ||
align_top: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8,11H11V21H13V11H16L12,7L8,11M4,3V5H20V3H4Z" /></svg>', | ||
align_middle: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8,19H11V23H13V19H16L12,15L8,19M16,5H13V1H11V5H8L12,9L16,5M4,11V13H20V11H4Z" /></svg>', | ||
align_bottom: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M16,13H13V3H11V13H8L12,17L16,13M4,19V21H20V19H4Z" /></svg>', | ||
format_float_none: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3,7H9V13H3V7M3,3H21V5H3V3M21,11V13H11V11H21M3,15H17V17H3V15M3,19H21V21H3V19Z" /></svg>', | ||
format_float_left: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3,7H9V13H3V7M3,3H21V5H3V3M21,7V9H11V7H21M21,11V13H11V11H21M3,15H17V17H3V15M3,19H21V21H3V19Z" /></svg>', | ||
format_float_right: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15,7H21V13H15V7M3,3H21V5H3V3M13,7V9H3V7H13M9,11V13H3V11H9M3,15H17V17H3V15M3,19H21V21H3V19Z" /></svg>', | ||
format_float_center: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9,7H15V13H9V7M3,3H21V5H3V3M3,15H21V17H3V15M3,19H17V21H3V19Z" /></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 13.77"><g><path d="M4.41,4.74v2H20.15v-2H4.41Zm2,3.94v2H18.18v-2H6.37Zm-1,5.9H19.16v-2H5.39v2Zm2,3.93H17.2v-2H7.36v2Z" transform="translate(-4.41 -4.74)"/></g></svg>', | ||
align_top: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8,11H11V21H13V11H16L12,7L8,11M4,3V5H20V3H4Z" /></svg>', | ||
align_middle: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8,19H11V23H13V19H16L12,15L8,19M16,5H13V1H11V5H8L12,9L16,5M4,11V13H20V11H4Z" /></svg>', | ||
align_bottom: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M16,13H13V3H11V13H8L12,17L16,13M4,19V21H20V19H4Z" /></svg>', | ||
format_float_none: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3,7H9V13H3V7M3,3H21V5H3V3M21,11V13H11V11H21M3,15H17V17H3V15M3,19H21V21H3V19Z" /></svg>', | ||
format_float_left: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3,7H9V13H3V7M3,3H21V5H3V3M21,7V9H11V7H21M21,11V13H11V11H21M3,15H17V17H3V15M3,19H21V21H3V19Z" /></svg>', | ||
format_float_right: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15,7H21V13H15V7M3,3H21V5H3V3M13,7V9H3V7H13M9,11V13H3V11H9M3,15H17V17H3V15M3,19H21V21H3V19Z" /></svg>', | ||
format_float_center: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9,7H15V13H9V7M3,3H21V5H3V3M3,15H21V17H3V15M3,19H17V21H3V19Z" /></svg>', | ||
font_color: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M9.62,12L12,5.67L14.37,12M11,3L5.5,17H7.75L8.87,14H15.12L16.25,17H18.5L13,3H11Z" /><path class="se-svg-color-helper" d="M0,24H24V20H0V24Z" /></g></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M9.62,12L12,5.67L14.37,12M11,3L5.5,17H7.75L8.87,14H15.12L16.25,17H18.5L13,3H11Z" /><path class="se-svg-color-helper" d="M0,24H24V20H0V24Z" /></g></svg>', | ||
background_color: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M4,17L6.75,14.25L6.72,14.23C6.14,13.64 6.14,12.69 6.72,12.11L11.46,7.37L15.7,11.61L10.96,16.35C10.39,16.93 9.46,16.93 8.87,16.37L8.24,17H4M15.91,2.91C16.5,2.33 17.45,2.33 18.03,2.91L20.16,5.03C20.74,5.62 20.74,6.57 20.16,7.16L16.86,10.45L12.62,6.21L15.91,2.91Z" /><path class="se-svg-color-helper" d="M0,24H24V20H0V24Z" /></g></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g><path d="M4,17L6.75,14.25L6.72,14.23C6.14,13.64 6.14,12.69 6.72,12.11L11.46,7.37L15.7,11.61L10.96,16.35C10.39,16.93 9.46,16.93 8.87,16.37L8.24,17H4M15.91,2.91C16.5,2.33 17.45,2.33 18.03,2.91L20.16,5.03C20.74,5.62 20.74,6.57 20.16,7.16L16.86,10.45L12.62,6.21L15.91,2.91Z" /><path class="se-svg-color-helper" d="M0,24H24V20H0V24Z" /></g></svg>', | ||
list_bulleted: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 12.37"><g><path d="M7.77,16.12a1.59,1.59,0,0,0-.49-1.18,1.62,1.62,0,0,0-1.19-.49,1.68,1.68,0,1,0,0,3.36,1.67,1.67,0,0,0,1.68-1.69Zm0-4.48A1.67,1.67,0,0,0,6.09,10,1.68,1.68,0,0,0,4.9,12.82a1.62,1.62,0,0,0,1.19.49,1.67,1.67,0,0,0,1.68-1.67Zm12.38,3.64a.27.27,0,0,0-.08-.19.28.28,0,0,0-.2-.09H9.19a.28.28,0,0,0-.2.08.29.29,0,0,0-.08.19V17a.27.27,0,0,0,.28.28H19.87a.27.27,0,0,0,.19-.08.24.24,0,0,0,.08-.2V15.28ZM7.77,7.13a1.63,1.63,0,0,0-.49-1.2,1.61,1.61,0,0,0-1.19-.49,1.61,1.61,0,0,0-1.19.49,1.71,1.71,0,0,0,0,2.4,1.62,1.62,0,0,0,1.19.49,1.61,1.61,0,0,0,1.19-.49,1.63,1.63,0,0,0,.49-1.2Zm12.38,3.66a.28.28,0,0,0-.08-.2.29.29,0,0,0-.19-.08H9.19a.27.27,0,0,0-.28.28v1.69a.27.27,0,0,0,.08.19.24.24,0,0,0,.2.08H19.87a.27.27,0,0,0,.19-.08.25.25,0,0,0,.08-.19V10.79Zm0-4.5a.27.27,0,0,0-.08-.19A.25.25,0,0,0,19.88,6H9.19A.28.28,0,0,0,9,6.1a.26.26,0,0,0-.08.19V8A.27.27,0,0,0,9,8.17a.24.24,0,0,0,.2.08H19.87a.27.27,0,0,0,.19-.08A.25.25,0,0,0,20.14,8V6.29Z" transform="translate(-4.41 -5.44)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 12.37"><g><path d="M7.77,16.12a1.59,1.59,0,0,0-.49-1.18,1.62,1.62,0,0,0-1.19-.49,1.68,1.68,0,1,0,0,3.36,1.67,1.67,0,0,0,1.68-1.69Zm0-4.48A1.67,1.67,0,0,0,6.09,10,1.68,1.68,0,0,0,4.9,12.82a1.62,1.62,0,0,0,1.19.49,1.67,1.67,0,0,0,1.68-1.67Zm12.38,3.64a.27.27,0,0,0-.08-.19.28.28,0,0,0-.2-.09H9.19a.28.28,0,0,0-.2.08.29.29,0,0,0-.08.19V17a.27.27,0,0,0,.28.28H19.87a.27.27,0,0,0,.19-.08.24.24,0,0,0,.08-.2V15.28ZM7.77,7.13a1.63,1.63,0,0,0-.49-1.2,1.61,1.61,0,0,0-1.19-.49,1.61,1.61,0,0,0-1.19.49,1.71,1.71,0,0,0,0,2.4,1.62,1.62,0,0,0,1.19.49,1.61,1.61,0,0,0,1.19-.49,1.63,1.63,0,0,0,.49-1.2Zm12.38,3.66a.28.28,0,0,0-.08-.2.29.29,0,0,0-.19-.08H9.19a.27.27,0,0,0-.28.28v1.69a.27.27,0,0,0,.08.19.24.24,0,0,0,.2.08H19.87a.27.27,0,0,0,.19-.08.25.25,0,0,0,.08-.19V10.79Zm0-4.5a.27.27,0,0,0-.08-.19A.25.25,0,0,0,19.88,6H9.19A.28.28,0,0,0,9,6.1a.26.26,0,0,0-.08.19V8A.27.27,0,0,0,9,8.17a.24.24,0,0,0,.2.08H19.87a.27.27,0,0,0,.19-.08A.25.25,0,0,0,20.14,8V6.29Z" transform="translate(-4.41 -5.44)"/></g></svg>', | ||
list_numbered: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.69 15.74"><g><path d="M7.66,18a1.24,1.24,0,0,0-.26-.78,1.17,1.17,0,0,0-.72-.42l.85-1V15H4.58v1.34h.94v-.46l.85,0h0c-.11.11-.22.23-.32.35s-.23.27-.37.47L5.39,17l.23.51c.61-.05.92.11.92.49a.42.42,0,0,1-.18.37.79.79,0,0,1-.45.12A1.41,1.41,0,0,1,5,18.15l-.51.77A2.06,2.06,0,0,0,6,19.5a1.8,1.8,0,0,0,1.2-.41A1.38,1.38,0,0,0,7.66,18Zm0-5.54H6.75V13H5.63A.72.72,0,0,1,6,12.51a5.45,5.45,0,0,1,.66-.45,2.71,2.71,0,0,0,.67-.57,1.19,1.19,0,0,0,.31-.81,1.29,1.29,0,0,0-.45-1,1.86,1.86,0,0,0-2-.11,1.51,1.51,0,0,0-.62.7l.74.52A.87.87,0,0,1,6,10.28a.51.51,0,0,1,.35.12.42.42,0,0,1,.13.33.55.55,0,0,1-.21.4,3,3,0,0,1-.5.38c-.19.13-.39.27-.58.42a2,2,0,0,0-.5.6,1.63,1.63,0,0,0-.21.81,3.89,3.89,0,0,0,.05.48h3.2V12.44Zm12.45,2.82a.27.27,0,0,0-.08-.19.28.28,0,0,0-.21-.08H9.1a.32.32,0,0,0-.21.08.24.24,0,0,0-.08.2V17a.27.27,0,0,0,.08.19.3.3,0,0,0,.21.08H19.83a.32.32,0,0,0,.21-.08.25.25,0,0,0,.08-.19V15.26ZM7.69,7.32h-1V3.76H5.8L4.6,4.88l.63.68a1.85,1.85,0,0,0,.43-.48h0l0,2.24H4.74V8.2h3V7.32Zm12.43,3.42a.27.27,0,0,0-.08-.19.28.28,0,0,0-.21-.08H9.1a.32.32,0,0,0-.21.08.24.24,0,0,0-.08.2v1.71a.27.27,0,0,0,.08.19.3.3,0,0,0,.21.08H19.83a.32.32,0,0,0,.21-.08.25.25,0,0,0,.08-.19V10.74Zm0-4.52A.27.27,0,0,0,20,6,.28.28,0,0,0,19.83,6H9.1A.32.32,0,0,0,8.89,6a.24.24,0,0,0-.08.19V7.93a.27.27,0,0,0,.08.19.32.32,0,0,0,.21.08H19.83A.32.32,0,0,0,20,8.12a.26.26,0,0,0,.08-.2V6.22Z" transform="translate(-4.43 -3.76)"/></g></svg>', | ||
table: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 15.74"><g><path d="M4.41,8.05V3.76H8.7V8.05H4.41Zm5.71,0V3.76h4.3V8.05h-4.3Zm5.74-4.29h4.29V8.05H15.86V3.76Zm-11.45,10V9.48H8.7v4.3H4.41Zm5.71,0V9.48h4.3v4.3h-4.3Zm5.74,0V9.48h4.29v4.3H15.86ZM4.41,19.5V15.21H8.7V19.5H4.41Zm5.71,0V15.21h4.3V19.5h-4.3Zm5.74,0V15.21h4.29V19.5H15.86Z" transform="translate(-4.41 -3.76)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.69 15.74"><g><path d="M7.66,18a1.24,1.24,0,0,0-.26-.78,1.17,1.17,0,0,0-.72-.42l.85-1V15H4.58v1.34h.94v-.46l.85,0h0c-.11.11-.22.23-.32.35s-.23.27-.37.47L5.39,17l.23.51c.61-.05.92.11.92.49a.42.42,0,0,1-.18.37.79.79,0,0,1-.45.12A1.41,1.41,0,0,1,5,18.15l-.51.77A2.06,2.06,0,0,0,6,19.5a1.8,1.8,0,0,0,1.2-.41A1.38,1.38,0,0,0,7.66,18Zm0-5.54H6.75V13H5.63A.72.72,0,0,1,6,12.51a5.45,5.45,0,0,1,.66-.45,2.71,2.71,0,0,0,.67-.57,1.19,1.19,0,0,0,.31-.81,1.29,1.29,0,0,0-.45-1,1.86,1.86,0,0,0-2-.11,1.51,1.51,0,0,0-.62.7l.74.52A.87.87,0,0,1,6,10.28a.51.51,0,0,1,.35.12.42.42,0,0,1,.13.33.55.55,0,0,1-.21.4,3,3,0,0,1-.5.38c-.19.13-.39.27-.58.42a2,2,0,0,0-.5.6,1.63,1.63,0,0,0-.21.81,3.89,3.89,0,0,0,.05.48h3.2V12.44Zm12.45,2.82a.27.27,0,0,0-.08-.19.28.28,0,0,0-.21-.08H9.1a.32.32,0,0,0-.21.08.24.24,0,0,0-.08.2V17a.27.27,0,0,0,.08.19.3.3,0,0,0,.21.08H19.83a.32.32,0,0,0,.21-.08.25.25,0,0,0,.08-.19V15.26ZM7.69,7.32h-1V3.76H5.8L4.6,4.88l.63.68a1.85,1.85,0,0,0,.43-.48h0l0,2.24H4.74V8.2h3V7.32Zm12.43,3.42a.27.27,0,0,0-.08-.19.28.28,0,0,0-.21-.08H9.1a.32.32,0,0,0-.21.08.24.24,0,0,0-.08.2v1.71a.27.27,0,0,0,.08.19.3.3,0,0,0,.21.08H19.83a.32.32,0,0,0,.21-.08.25.25,0,0,0,.08-.19V10.74Zm0-4.52A.27.27,0,0,0,20,6,.28.28,0,0,0,19.83,6H9.1A.32.32,0,0,0,8.89,6a.24.24,0,0,0-.08.19V7.93a.27.27,0,0,0,.08.19.32.32,0,0,0,.21.08H19.83A.32.32,0,0,0,20,8.12a.26.26,0,0,0,.08-.2V6.22Z" transform="translate(-4.43 -3.76)"/></g></svg>', | ||
table: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 15.74"><g><path d="M4.41,8.05V3.76H8.7V8.05H4.41Zm5.71,0V3.76h4.3V8.05h-4.3Zm5.74-4.29h4.29V8.05H15.86V3.76Zm-11.45,10V9.48H8.7v4.3H4.41Zm5.71,0V9.48h4.3v4.3h-4.3Zm5.74,0V9.48h4.29v4.3H15.86ZM4.41,19.5V15.21H8.7V19.5H4.41Zm5.71,0V15.21h4.3V19.5h-4.3Zm5.74,0V15.21h4.29V19.5H15.86Z" transform="translate(-4.41 -3.76)"/></g></svg>', | ||
table_header: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.75 15.74"><g><path d="M17,19.5v-.78H15.5v.78H17Zm-3,0v-.78H12.5v.78H14Zm-3,0v-.78H9.53v.78H11Zm-3,0v-.78H6.53v.78H8Zm10.55,0a1.73,1.73,0,0,0,.85-.35,1.67,1.67,0,0,0,.56-.76l-.71-.31a1.21,1.21,0,0,1-.35.4,1.34,1.34,0,0,1-.53.23l.08.38c.06.24.09.38.1.41Zm-13.7-.63.55-.55A.77.77,0,0,1,5.25,18a1.31,1.31,0,0,1-.06-.38v-.38H4.41v.38a2,2,0,0,0,.12.68,1.6,1.6,0,0,0,.35.57Zm15.27-2.12V15.26h-.78v1.49h.78Zm-15-1V14.23H4.41v1.49h.78Zm15-2V12.26h-.78v1.49h.78Zm-15-1V11.22H4.41v1.51h.78Zm15-2V9.26h-.78v1.51h.78Zm-15-1V8.17H4.41V9.74h.78Zm15-2V6.28h-.78V7.77h.78Zm-15-1.11V5.33L4.48,5.1a.77.77,0,0,0-.07.27,2.72,2.72,0,0,0,0,.28v1h.79ZM19.21,5l.63-.4A1.62,1.62,0,0,0,19.16,4a1.94,1.94,0,0,0-.91-.22v.78a1.31,1.31,0,0,1,.56.12.88.88,0,0,1,.4.36ZM6,4.54H7.78V3.76H6a.82.82,0,0,0-.28.06l.12.35c.07.21.1.33.11.36Zm10.8,0V3.76H15.28v.78h1.49Zm-3,0V3.76H12.28v.78h1.49Zm-3,0V3.76H9.28v.78h1.51ZM6,10.84h12.6V6.91H6Z" transform="translate(-4.4 -3.76)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.75 15.74"><g><path d="M17,19.5v-.78H15.5v.78H17Zm-3,0v-.78H12.5v.78H14Zm-3,0v-.78H9.53v.78H11Zm-3,0v-.78H6.53v.78H8Zm10.55,0a1.73,1.73,0,0,0,.85-.35,1.67,1.67,0,0,0,.56-.76l-.71-.31a1.21,1.21,0,0,1-.35.4,1.34,1.34,0,0,1-.53.23l.08.38c.06.24.09.38.1.41Zm-13.7-.63.55-.55A.77.77,0,0,1,5.25,18a1.31,1.31,0,0,1-.06-.38v-.38H4.41v.38a2,2,0,0,0,.12.68,1.6,1.6,0,0,0,.35.57Zm15.27-2.12V15.26h-.78v1.49h.78Zm-15-1V14.23H4.41v1.49h.78Zm15-2V12.26h-.78v1.49h.78Zm-15-1V11.22H4.41v1.51h.78Zm15-2V9.26h-.78v1.51h.78Zm-15-1V8.17H4.41V9.74h.78Zm15-2V6.28h-.78V7.77h.78Zm-15-1.11V5.33L4.48,5.1a.77.77,0,0,0-.07.27,2.72,2.72,0,0,0,0,.28v1h.79ZM19.21,5l.63-.4A1.62,1.62,0,0,0,19.16,4a1.94,1.94,0,0,0-.91-.22v.78a1.31,1.31,0,0,1,.56.12.88.88,0,0,1,.4.36ZM6,4.54H7.78V3.76H6a.82.82,0,0,0-.28.06l.12.35c.07.21.1.33.11.36Zm10.8,0V3.76H15.28v.78h1.49Zm-3,0V3.76H12.28v.78h1.49Zm-3,0V3.76H9.28v.78h1.51ZM6,10.84h12.6V6.91H6Z" transform="translate(-4.4 -3.76)"/></g></svg>', | ||
table_properties: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 3H17C18.11 3 19 3.9 19 5V12.08C17.45 11.82 15.92 12.18 14.68 13H11V17H12.08C11.97 17.68 11.97 18.35 12.08 19H3C1.9 19 1 18.11 1 17V5C1 3.9 1.9 3 3 3M3 7V11H9V7H3M11 7V11H17V7H11M3 13V17H9V13H3M22.78 19.32L21.71 18.5C21.73 18.33 21.75 18.17 21.75 18S21.74 17.67 21.71 17.5L22.77 16.68C22.86 16.6 22.89 16.47 22.83 16.36L21.83 14.63C21.77 14.5 21.64 14.5 21.5 14.5L20.28 15C20 14.82 19.74 14.65 19.43 14.53L19.24 13.21C19.23 13.09 19.12 13 19 13H17C16.88 13 16.77 13.09 16.75 13.21L16.56 14.53C16.26 14.66 15.97 14.82 15.71 15L14.47 14.5C14.36 14.5 14.23 14.5 14.16 14.63L13.16 16.36C13.1 16.47 13.12 16.6 13.22 16.68L14.28 17.5C14.26 17.67 14.25 17.83 14.25 18S14.26 18.33 14.28 18.5L13.22 19.32C13.13 19.4 13.1 19.53 13.16 19.64L14.16 21.37C14.22 21.5 14.35 21.5 14.47 21.5L15.71 21C15.97 21.18 16.25 21.35 16.56 21.47L16.75 22.79C16.77 22.91 16.87 23 17 23H19C19.12 23 19.23 22.91 19.25 22.79L19.44 21.47C19.74 21.34 20 21.18 20.28 21L21.5 21.5C21.64 21.5 21.77 21.5 21.84 21.37L22.84 19.64C22.9 19.53 22.87 19.4 22.78 19.32M18 19.5C17.17 19.5 16.5 18.83 16.5 18S17.18 16.5 18 16.5 19.5 17.17 19.5 18 18.84 19.5 18 19.5Z" /></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 3H17C18.11 3 19 3.9 19 5V12.08C17.45 11.82 15.92 12.18 14.68 13H11V17H12.08C11.97 17.68 11.97 18.35 12.08 19H3C1.9 19 1 18.11 1 17V5C1 3.9 1.9 3 3 3M3 7V11H9V7H3M11 7V11H17V7H11M3 13V17H9V13H3M22.78 19.32L21.71 18.5C21.73 18.33 21.75 18.17 21.75 18S21.74 17.67 21.71 17.5L22.77 16.68C22.86 16.6 22.89 16.47 22.83 16.36L21.83 14.63C21.77 14.5 21.64 14.5 21.5 14.5L20.28 15C20 14.82 19.74 14.65 19.43 14.53L19.24 13.21C19.23 13.09 19.12 13 19 13H17C16.88 13 16.77 13.09 16.75 13.21L16.56 14.53C16.26 14.66 15.97 14.82 15.71 15L14.47 14.5C14.36 14.5 14.23 14.5 14.16 14.63L13.16 16.36C13.1 16.47 13.12 16.6 13.22 16.68L14.28 17.5C14.26 17.67 14.25 17.83 14.25 18S14.26 18.33 14.28 18.5L13.22 19.32C13.13 19.4 13.1 19.53 13.16 19.64L14.16 21.37C14.22 21.5 14.35 21.5 14.47 21.5L15.71 21C15.97 21.18 16.25 21.35 16.56 21.47L16.75 22.79C16.77 22.91 16.87 23 17 23H19C19.12 23 19.23 22.91 19.25 22.79L19.44 21.47C19.74 21.34 20 21.18 20.28 21L21.5 21.5C21.64 21.5 21.77 21.5 21.84 21.37L22.84 19.64C22.9 19.53 22.87 19.4 22.78 19.32M18 19.5C17.17 19.5 16.5 18.83 16.5 18S17.18 16.5 18 16.5 19.5 17.17 19.5 18 18.84 19.5 18 19.5Z" /></svg>', | ||
cell_properties: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19.5 8C21.43 8 23 6.43 23 4.5C23 2.57 21.43 1 19.5 1C17.57 1 16 2.57 16 4.5C16 6.43 17.57 8 19.5 8M21 16V9.79C20.5 9.93 20 10 19.5 10C19.33 10 19.17 10 19 10V16C19 17.66 17.66 19 16 19H8C6.34 19 5 17.66 5 16V8C5 6.34 6.34 5 8 5H14C14 4.84 14 4.67 14 4.5C14 4 14.07 3.5 14.21 3H8C5.24 3 3 5.24 3 8V16C3 18.76 5.24 21 8 21H16C18.76 21 21 18.76 21 16Z" /></svg>', | ||
table_column: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8,2H16A2,2 0 0,1 18,4V20A2,2 0 0,1 16,22H8A2,2 0 0,1 6,20V4A2,2 0 0,1 8,2M8,10V14H16V10H8M8,16V20H16V16H8M8,4V8H16V4H8Z" /></svg>', | ||
table_row: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M22,14A2,2 0 0,1 20,16H4A2,2 0 0,1 2,14V10A2,2 0 0,1 4,8H20A2,2 0 0,1 22,10V14M4,14H8V10H4V14M10,14H14V10H10V14M16,14H20V10H16V14Z" /></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19.5 8C21.43 8 23 6.43 23 4.5C23 2.57 21.43 1 19.5 1C17.57 1 16 2.57 16 4.5C16 6.43 17.57 8 19.5 8M21 16V9.79C20.5 9.93 20 10 19.5 10C19.33 10 19.17 10 19 10V16C19 17.66 17.66 19 16 19H8C6.34 19 5 17.66 5 16V8C5 6.34 6.34 5 8 5H14C14 4.84 14 4.67 14 4.5C14 4 14.07 3.5 14.21 3H8C5.24 3 3 5.24 3 8V16C3 18.76 5.24 21 8 21H16C18.76 21 21 18.76 21 16Z" /></svg>', | ||
table_column: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8,2H16A2,2 0 0,1 18,4V20A2,2 0 0,1 16,22H8A2,2 0 0,1 6,20V4A2,2 0 0,1 8,2M8,10V14H16V10H8M8,16V20H16V16H8M8,4V8H16V4H8Z" /></svg>', | ||
table_row: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M22,14A2,2 0 0,1 20,16H4A2,2 0 0,1 2,14V10A2,2 0 0,1 4,8H20A2,2 0 0,1 22,10V14M4,14H8V10H4V14M10,14H14V10H10V14M16,14H20V10H16V14Z" /></svg>', | ||
color_checked: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z" /></svg>', | ||
color_palette: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17.5,12A1.5,1.5 0 0,1 16,10.5A1.5,1.5 0 0,1 17.5,9A1.5,1.5 0 0,1 19,10.5A1.5,1.5 0 0,1 17.5,12M14.5,8A1.5,1.5 0 0,1 13,6.5A1.5,1.5 0 0,1 14.5,5A1.5,1.5 0 0,1 16,6.5A1.5,1.5 0 0,1 14.5,8M9.5,8A1.5,1.5 0 0,1 8,6.5A1.5,1.5 0 0,1 9.5,5A1.5,1.5 0 0,1 11,6.5A1.5,1.5 0 0,1 9.5,8M6.5,12A1.5,1.5 0 0,1 5,10.5A1.5,1.5 0 0,1 6.5,9A1.5,1.5 0 0,1 8,10.5A1.5,1.5 0 0,1 6.5,12M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A1.5,1.5 0 0,0 13.5,19.5C13.5,19.11 13.35,18.76 13.11,18.5C12.88,18.23 12.73,17.88 12.73,17.5A1.5,1.5 0 0,1 14.23,16H16A5,5 0 0,0 21,11C21,6.58 16.97,3 12,3Z" /></svg>', | ||
border_all: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,11H13V5H19M19,19H13V13H19M11,11H5V5H11M11,19H5V13H11M3,21H21V3H3V21Z" /></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17.5,12A1.5,1.5 0 0,1 16,10.5A1.5,1.5 0 0,1 17.5,9A1.5,1.5 0 0,1 19,10.5A1.5,1.5 0 0,1 17.5,12M14.5,8A1.5,1.5 0 0,1 13,6.5A1.5,1.5 0 0,1 14.5,5A1.5,1.5 0 0,1 16,6.5A1.5,1.5 0 0,1 14.5,8M9.5,8A1.5,1.5 0 0,1 8,6.5A1.5,1.5 0 0,1 9.5,5A1.5,1.5 0 0,1 11,6.5A1.5,1.5 0 0,1 9.5,8M6.5,12A1.5,1.5 0 0,1 5,10.5A1.5,1.5 0 0,1 6.5,9A1.5,1.5 0 0,1 8,10.5A1.5,1.5 0 0,1 6.5,12M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A1.5,1.5 0 0,0 13.5,19.5C13.5,19.11 13.35,18.76 13.11,18.5C12.88,18.23 12.73,17.88 12.73,17.5A1.5,1.5 0 0,1 14.23,16H16A5,5 0 0,0 21,11C21,6.58 16.97,3 12,3Z" /></svg>', | ||
border_all: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,11H13V5H19M19,19H13V13H19M11,11H5V5H11M11,19H5V13H11M3,21H21V3H3V21Z" /></svg>', | ||
border_inside: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,17H21V15H19M19,21H21V19H19M13,3H11V11H3V13H11V21H13V13H21V11H13M15,21H17V19H15M19,5H21V3H19M19,9H21V7H19M17,3H15V5H17M5,3H3V5H5M9,3H7V5H9M3,17H5V15H3M5,7H3V9H5M7,21H9V19H7M3,21H5V19H3V21Z" /></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,17H21V15H19M19,21H21V19H19M13,3H11V11H3V13H11V21H13V13H21V11H13M15,21H17V19H15M19,5H21V3H19M19,9H21V7H19M17,3H15V5H17M5,3H3V5H5M9,3H7V5H9M3,17H5V15H3M5,7H3V9H5M7,21H9V19H7M3,21H5V19H3V21Z" /></svg>', | ||
border_horizontal: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,21H21V19H19M15,21H17V19H15M11,17H13V15H11M19,9H21V7H19M19,5H21V3H19M3,13H21V11H3M11,21H13V19H11M19,17H21V15H19M13,3H11V5H13M13,7H11V9H13M17,3H15V5H17M9,3H7V5H9M5,3H3V5H5M7,21H9V19H7M3,17H5V15H3M5,7H3V9H5M3,21H5V19H3V21Z" /></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,21H21V19H19M15,21H17V19H15M11,17H13V15H11M19,9H21V7H19M19,5H21V3H19M3,13H21V11H3M11,21H13V19H11M19,17H21V15H19M13,3H11V5H13M13,7H11V9H13M17,3H15V5H17M9,3H7V5H9M5,3H3V5H5M7,21H9V19H7M3,17H5V15H3M5,7H3V9H5M3,21H5V19H3V21Z" /></svg>', | ||
border_vertical: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15,13H17V11H15M15,21H17V19H15M15,5H17V3H15M19,9H21V7H19M19,5H21V3H19M19,13H21V11H19M19,21H21V19H19M11,21H13V3H11M19,17H21V15H19M7,5H9V3H7M3,17H5V15H3M3,21H5V19H3M3,13H5V11H3M7,13H9V11H7M7,21H9V19H7M3,5H5V3H3M3,9H5V7H3V9Z" /></svg>', | ||
border_outside: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9,11H7V13H9M13,15H11V17H13M19,19H5V5H19M3,21H21V3H3M17,11H15V13H17M13,11H11V13H13M13,7H11V9H13V7Z" /></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15,13H17V11H15M15,21H17V19H15M15,5H17V3H15M19,9H21V7H19M19,5H21V3H19M19,13H21V11H19M19,21H21V19H19M11,21H13V3H11M19,17H21V15H19M7,5H9V3H7M3,17H5V15H3M3,21H5V19H3M3,13H5V11H3M7,13H9V11H7M7,21H9V19H7M3,5H5V3H3M3,9H5V7H3V9Z" /></svg>', | ||
border_outside: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9,11H7V13H9M13,15H11V17H13M19,19H5V5H19M3,21H21V3H3M17,11H15V13H17M13,11H11V13H13M13,7H11V9H13V7Z" /></svg>', | ||
border_left: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15,5H17V3H15M15,13H17V11H15M19,21H21V19H19M19,13H21V11H19M19,5H21V3H19M19,17H21V15H19M15,21H17V19H15M19,9H21V7H19M3,21H5V3H3M7,13H9V11H7M7,5H9V3H7M7,21H9V19H7M11,13H13V11H11M11,9H13V7H11M11,5H13V3H11M11,17H13V15H11M11,21H13V19H11V21Z" /></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15,5H17V3H15M15,13H17V11H15M19,21H21V19H19M19,13H21V11H19M19,5H21V3H19M19,17H21V15H19M15,21H17V19H15M19,9H21V7H19M3,21H5V3H3M7,13H9V11H7M7,5H9V3H7M7,21H9V19H7M11,13H13V11H11M11,9H13V7H11M11,5H13V3H11M11,17H13V15H11M11,21H13V19H11V21Z" /></svg>', | ||
border_top: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15,13H17V11H15M19,21H21V19H19M11,9H13V7H11M15,21H17V19H15M19,17H21V15H19M3,5H21V3H3M19,13H21V11H19M19,9H21V7H19M11,17H13V15H11M3,9H5V7H3M3,13H5V11H3M3,21H5V19H3M3,17H5V15H3M11,21H13V19H11M11,13H13V11H11M7,13H9V11H7M7,21H9V19H7V21Z" /></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15,13H17V11H15M19,21H21V19H19M11,9H13V7H11M15,21H17V19H15M19,17H21V15H19M3,5H21V3H3M19,13H21V11H19M19,9H21V7H19M11,17H13V15H11M3,9H5V7H3M3,13H5V11H3M3,21H5V19H3M3,17H5V15H3M11,21H13V19H11M11,13H13V11H11M7,13H9V11H7M7,21H9V19H7V21Z" /></svg>', | ||
border_right: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11,5H13V3H11M15,5H17V3H15M15,21H17V19H15M19,21H21V3H19M3,9H5V7H3M3,17H5V15H3M3,13H5V11H3M11,21H13V19H11M3,21H5V19H3M7,5H9V3H7M3,5H5V3H3M7,21H9V19H7V21Z" /></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11,5H13V3H11M15,5H17V3H15M15,21H17V19H15M19,21H21V3H19M3,9H5V7H3M3,17H5V15H3M3,13H5V11H3M11,21H13V19H11M3,21H5V19H3M7,5H9V3H7M3,5H5V3H3M7,21H9V19H7V21Z" /></svg>', | ||
border_bottom: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5,15H3V17H5M3,21H21V19H3M5,11H3V13H5M19,9H21V7H19M19,5H21V3H19M5,7H3V9H5M19,17H21V15H19M19,13H21V11H19M17,3H15V5H17M13,3H11V5H13M5,3H3V5H5M9,3H7V5H9" /></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5,15H3V17H5M3,21H21V19H3M5,11H3V13H5M19,9H21V7H19M19,5H21V3H19M5,7H3V9H5M19,17H21V15H19M19,13H21V11H19M17,3H15V5H17M13,3H11V5H13M5,3H3V5H5M9,3H7V5H9" /></svg>', | ||
border_none: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15,5H17V3H15M15,13H17V11H15M15,21H17V19H15M11,5H13V3H11M19,5H21V3H19M11,9H13V7H11M19,9H21V7H19M19,21H21V19H19M19,13H21V11H19M19,17H21V15H19M11,13H13V11H11M3,5H5V3H3M3,9H5V7H3M3,13H5V11H3M3,17H5V15H3M3,21H5V19H3M11,21H13V19H11M11,17H13V15H11M7,21H9V19H7M7,13H9V11H7M7,5H9V3H7V5Z" /></svg>', | ||
horizontal_line: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 2.24"><g><path d="M20.15,12.75V10.51H4.41v2.24H20.15Z" transform="translate(-4.41 -10.51)"/></g></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15,5H17V3H15M15,13H17V11H15M15,21H17V19H15M11,5H13V3H11M19,5H21V3H19M11,9H13V7H11M19,9H21V7H19M19,21H21V19H19M19,13H21V11H19M19,17H21V15H19M11,13H13V11H11M3,5H5V3H3M3,9H5V7H3M3,13H5V11H3M3,17H5V15H3M3,21H5V19H3M11,21H13V19H11M11,17H13V15H11M7,21H9V19H7M7,13H9V11H7M7,5H9V3H7V5Z" /></svg>', | ||
horizontal_line: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 2.24"><g><path d="M20.15,12.75V10.51H4.41v2.24H20.15Z" transform="translate(-4.41 -10.51)"/></g></svg>', | ||
show_blocks: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.66 15.67"><g><path d="M19.72,5.58a1.64,1.64,0,0,0-1.64-1.64H6.23a1.62,1.62,0,0,0-1.16.48,1.63,1.63,0,0,0-.48,1.16V9.63a1.6,1.6,0,0,0,.48,1.16,1.62,1.62,0,0,0,1.16.47H18.09a1.67,1.67,0,0,0,1.16-.47,1.62,1.62,0,0,0,.48-1.16V5.58Zm-.94,4.05a.68.68,0,0,1-.7.7H6.23a.66.66,0,0,1-.48-.2.74.74,0,0,1-.21-.5V5.58a.66.66,0,0,1,.2-.48.71.71,0,0,1,.48-.21H18.08a.74.74,0,0,1,.5.21.66.66,0,0,1,.2.48ZM6.48,7.72a.21.21,0,0,0,.17-.07.22.22,0,0,0,.07-.17V7.06a1.27,1.27,0,0,1,.11-.52.37.37,0,0,1,.36-.23H8.77A.25.25,0,0,0,9,6.17a.19.19,0,0,0,0-.23.27.27,0,0,0-.2-.12H7.19a.88.88,0,0,0-.72.39,1.51,1.51,0,0,0-.23.85v.42a.24.24,0,0,0,.24.24Zm-.19.81a.21.21,0,0,0,.17-.07.26.26,0,0,0,.07-.17.24.24,0,0,0-.24-.24.2.2,0,0,0-.16.09.2.2,0,0,0-.07.16.22.22,0,0,0,.07.17.23.23,0,0,0,.16.06Zm8.46,5.1a1.63,1.63,0,0,0-.47-1.16A1.61,1.61,0,0,0,13.12,12H6.23a1.6,1.6,0,0,0-1.16.46,1.62,1.62,0,0,0-.48,1.16v4.05a1.64,1.64,0,0,0,1.64,1.64h6.89a1.6,1.6,0,0,0,1.16-.48,1.62,1.62,0,0,0,.47-1.16Zm-.94,4a.7.7,0,0,1-.2.49.65.65,0,0,1-.5.2H6.23a.66.66,0,0,1-.48-.2.75.75,0,0,1-.21-.49v-4a.74.74,0,0,1,.21-.5.66.66,0,0,1,.48-.2h6.89a.68.68,0,0,1,.7.7v4Zm6.15,0v-4a1.6,1.6,0,0,0-.48-1.16A1.67,1.67,0,0,0,18.32,12H17.1a1.63,1.63,0,0,0-1.16.47,1.61,1.61,0,0,0-.47,1.16v4a1.67,1.67,0,0,0,.47,1.16,1.62,1.62,0,0,0,1.16.48h1.22A1.64,1.64,0,0,0,20,17.68Zm-.94-4v4a.75.75,0,0,1-.21.49.62.62,0,0,1-.48.2H17.11a.69.69,0,0,1-.5-.2.7.7,0,0,1-.2-.49v-4a.68.68,0,0,1,.7-.7h1.22a.66.66,0,0,1,.48.2.72.72,0,0,1,.21.5Z" transform="translate(-4.44 -3.79)"/></g></svg>', | ||
cancel: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" /></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.66 15.67"><g><path d="M19.72,5.58a1.64,1.64,0,0,0-1.64-1.64H6.23a1.62,1.62,0,0,0-1.16.48,1.63,1.63,0,0,0-.48,1.16V9.63a1.6,1.6,0,0,0,.48,1.16,1.62,1.62,0,0,0,1.16.47H18.09a1.67,1.67,0,0,0,1.16-.47,1.62,1.62,0,0,0,.48-1.16V5.58Zm-.94,4.05a.68.68,0,0,1-.7.7H6.23a.66.66,0,0,1-.48-.2.74.74,0,0,1-.21-.5V5.58a.66.66,0,0,1,.2-.48.71.71,0,0,1,.48-.21H18.08a.74.74,0,0,1,.5.21.66.66,0,0,1,.2.48ZM6.48,7.72a.21.21,0,0,0,.17-.07.22.22,0,0,0,.07-.17V7.06a1.27,1.27,0,0,1,.11-.52.37.37,0,0,1,.36-.23H8.77A.25.25,0,0,0,9,6.17a.19.19,0,0,0,0-.23.27.27,0,0,0-.2-.12H7.19a.88.88,0,0,0-.72.39,1.51,1.51,0,0,0-.23.85v.42a.24.24,0,0,0,.24.24Zm-.19.81a.21.21,0,0,0,.17-.07.26.26,0,0,0,.07-.17.24.24,0,0,0-.24-.24.2.2,0,0,0-.16.09.2.2,0,0,0-.07.16.22.22,0,0,0,.07.17.23.23,0,0,0,.16.06Zm8.46,5.1a1.63,1.63,0,0,0-.47-1.16A1.61,1.61,0,0,0,13.12,12H6.23a1.6,1.6,0,0,0-1.16.46,1.62,1.62,0,0,0-.48,1.16v4.05a1.64,1.64,0,0,0,1.64,1.64h6.89a1.6,1.6,0,0,0,1.16-.48,1.62,1.62,0,0,0,.47-1.16Zm-.94,4a.7.7,0,0,1-.2.49.65.65,0,0,1-.5.2H6.23a.66.66,0,0,1-.48-.2.75.75,0,0,1-.21-.49v-4a.74.74,0,0,1,.21-.5.66.66,0,0,1,.48-.2h6.89a.68.68,0,0,1,.7.7v4Zm6.15,0v-4a1.6,1.6,0,0,0-.48-1.16A1.67,1.67,0,0,0,18.32,12H17.1a1.63,1.63,0,0,0-1.16.47,1.61,1.61,0,0,0-.47,1.16v4a1.67,1.67,0,0,0,.47,1.16,1.62,1.62,0,0,0,1.16.48h1.22A1.64,1.64,0,0,0,20,17.68Zm-.94-4v4a.75.75,0,0,1-.21.49.62.62,0,0,1-.48.2H17.11a.69.69,0,0,1-.5-.2.7.7,0,0,1-.2-.49v-4a.68.68,0,0,1,.7-.7h1.22a.66.66,0,0,1,.48.2.72.72,0,0,1,.21.5Z" transform="translate(-4.44 -3.79)"/></g></svg>', | ||
cancel: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" /></svg>', | ||
selection_remove: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 20V17H22V20C22 21.11 21.1 22 20 22H17V20H20M2 20V17H4V20H7V22H4C2.9 22 2 21.1 2 20M10 20H14V22H10V20M14.59 8L12 10.59L9.41 8L8 9.41L10.59 12L8 14.59L9.41 16L12 13.41L14.59 16L16 14.59L13.41 12L16 9.41L14.59 8M20 10H22V14H20V10M2 10H4V14H2V10M2 4C2 2.89 2.9 2 4 2H7V4H4V7H2V4M22 4V7H20V4H17V2H20C21.1 2 22 2.9 22 4M10 2H14V4H10V2Z" /></svg>', | ||
image: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.75 15.77"><g><path d="M8.77,8.72a.88.88,0,0,1-.61-.27.82.82,0,0,1-.25-.61.89.89,0,0,1,.25-.62A.82.82,0,0,1,8.77,7a.81.81,0,0,1,.61.25.83.83,0,0,1,.27.62.81.81,0,0,1-.25.61.91.91,0,0,1-.63.27Zm9.62-5a1.74,1.74,0,0,1,1.76,1.76V17.76a1.74,1.74,0,0,1-1.76,1.76H6.16A1.74,1.74,0,0,1,4.4,17.76V5.51A1.74,1.74,0,0,1,6.16,3.75H18.39Zm0,1.75H6.16v8L8.53,11.8a.94.94,0,0,1,.54-.17.86.86,0,0,1,.54.2L11.09,13l3.64-4.55a.78.78,0,0,1,.34-.25.85.85,0,0,1,.42-.07.89.89,0,0,1,.39.12.78.78,0,0,1,.28.29l2.24,3.67V5.51Zm0,12.24V15.6L15.3,10.53,11.89,14.8a.89.89,0,0,1-.59.32.82.82,0,0,1-.64-.18L9,13.62,6.16,15.74v2Z" transform="translate(-4.4 -3.75)"/></g></svg>', | ||
video: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 14.55"><g><path d="M20.15,10.26V18.9l-3.94-1.57v1.2H4.41V10.66H16.22v1.23l2-.81,2-.82ZM14.64,17h0V12.54h0v-.31H6V17h8.67Zm3.94-.37v-4l-2.37,1v2l1.18.48,1.19.48ZM7.94,9.86A2.77,2.77,0,0,1,5.19,7.11a2.76,2.76,0,0,1,5.51,0A2.78,2.78,0,0,1,7.94,9.86Zm0-3.93a1.21,1.21,0,0,0-.83.35,1.15,1.15,0,0,0-.34.84A1.09,1.09,0,0,0,7.11,8,1.15,1.15,0,0,0,8,8.28,1.13,1.13,0,0,0,9.11,7.12,1.16,1.16,0,0,0,7.94,5.93Zm5.9,3.93a2.34,2.34,0,0,1-1.67-.68,2.3,2.3,0,0,1-.68-1.67,2.35,2.35,0,0,1,4-1.67,2.37,2.37,0,0,1,0,3.34,2.33,2.33,0,0,1-1.68.68Zm0-3.14a.75.75,0,1,0,.55.22.73.73,0,0,0-.55-.22Z" transform="translate(-4.41 -4.35)"/></g></svg>', | ||
link: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 15.72"><g><path d="M13.05,13.63a.24.24,0,0,1,.15.22L13.42,16a.19.19,0,0,1-.08.18l-2.12,2.14a4.08,4.08,0,0,1-1.29.85A4,4,0,0,1,4.71,17a3.92,3.92,0,0,1-.3-1.52A4,4,0,0,1,4.71,14a3.91,3.91,0,0,1,.87-1.3L7.7,10.56a.25.25,0,0,1,.2-.06l2.17.22a.21.21,0,0,1,.19.15.24.24,0,0,1,0,.25L7.12,14.23a1.81,1.81,0,0,0,0,2.58,1.78,1.78,0,0,0,1.29.52,1.74,1.74,0,0,0,1.28-.52L12.8,13.7a.24.24,0,0,1,.25-.07ZM19,4.92a4,4,0,0,1,0,5.66L16.86,12.7a.25.25,0,0,1-.17.08l-2.2-.23a.21.21,0,0,1-.19-.15.22.22,0,0,1,0-.25L17.44,9a1.81,1.81,0,0,0,0-2.58,1.78,1.78,0,0,0-1.29-.52,1.74,1.74,0,0,0-1.28.52L11.76,9.57a.21.21,0,0,1-.25,0,.24.24,0,0,1-.16-.21l-.22-2.17a.19.19,0,0,1,.08-.18l2.12-2.14a4.08,4.08,0,0,1,1.29-.85,4.05,4.05,0,0,1,3.06,0,3.85,3.85,0,0,1,1.3.85ZM5.84,9.82a.25.25,0,0,1-.18-.08.19.19,0,0,1-.07-.19l.11-.77a.2.2,0,0,1,.11-.17.24.24,0,0,1,.2,0l2.5.72a.25.25,0,0,1,.15.27.22.22,0,0,1-.23.21l-2.59,0Zm4.12-2-.73-2.5a.27.27,0,0,1,0-.2A.21.21,0,0,1,9.41,5L10.19,5a.25.25,0,0,1,.19,0,.23.23,0,0,1,.08.18l-.05,2.61a.2.2,0,0,1-.19.23h0A.22.22,0,0,1,10,7.85Zm8.76,5.58a.25.25,0,0,1,.18.08.23.23,0,0,1,.06.2l-.11.77a.25.25,0,0,1-.11.17.21.21,0,0,1-.12,0l-.08,0L16,14a.25.25,0,0,1-.15-.27.22.22,0,0,1,.22-.21l1.29,0,1.33,0Zm-4.12,2,.74,2.51a.28.28,0,0,1,0,.2.23.23,0,0,1-.18.11l-.8.11a.23.23,0,0,1-.17-.07.25.25,0,0,1-.08-.18l0-2.61a.22.22,0,0,1,.22-.22.21.21,0,0,1,.26.15Z" transform="translate(-4.41 -3.77)"/></g></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 20V17H22V20C22 21.11 21.1 22 20 22H17V20H20M2 20V17H4V20H7V22H4C2.9 22 2 21.1 2 20M10 20H14V22H10V20M14.59 8L12 10.59L9.41 8L8 9.41L10.59 12L8 14.59L9.41 16L12 13.41L14.59 16L16 14.59L13.41 12L16 9.41L14.59 8M20 10H22V14H20V10M2 10H4V14H2V10M2 4C2 2.89 2.9 2 4 2H7V4H4V7H2V4M22 4V7H20V4H17V2H20C21.1 2 22 2.9 22 4M10 2H14V4H10V2Z" /></svg>', | ||
image: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.75 15.77"><g><path d="M8.77,8.72a.88.88,0,0,1-.61-.27.82.82,0,0,1-.25-.61.89.89,0,0,1,.25-.62A.82.82,0,0,1,8.77,7a.81.81,0,0,1,.61.25.83.83,0,0,1,.27.62.81.81,0,0,1-.25.61.91.91,0,0,1-.63.27Zm9.62-5a1.74,1.74,0,0,1,1.76,1.76V17.76a1.74,1.74,0,0,1-1.76,1.76H6.16A1.74,1.74,0,0,1,4.4,17.76V5.51A1.74,1.74,0,0,1,6.16,3.75H18.39Zm0,1.75H6.16v8L8.53,11.8a.94.94,0,0,1,.54-.17.86.86,0,0,1,.54.2L11.09,13l3.64-4.55a.78.78,0,0,1,.34-.25.85.85,0,0,1,.42-.07.89.89,0,0,1,.39.12.78.78,0,0,1,.28.29l2.24,3.67V5.51Zm0,12.24V15.6L15.3,10.53,11.89,14.8a.89.89,0,0,1-.59.32.82.82,0,0,1-.64-.18L9,13.62,6.16,15.74v2Z" transform="translate(-4.4 -3.75)"/></g></svg>', | ||
video: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 14.55"><g><path d="M20.15,10.26V18.9l-3.94-1.57v1.2H4.41V10.66H16.22v1.23l2-.81,2-.82ZM14.64,17h0V12.54h0v-.31H6V17h8.67Zm3.94-.37v-4l-2.37,1v2l1.18.48,1.19.48ZM7.94,9.86A2.77,2.77,0,0,1,5.19,7.11a2.76,2.76,0,0,1,5.51,0A2.78,2.78,0,0,1,7.94,9.86Zm0-3.93a1.21,1.21,0,0,0-.83.35,1.15,1.15,0,0,0-.34.84A1.09,1.09,0,0,0,7.11,8,1.15,1.15,0,0,0,8,8.28,1.13,1.13,0,0,0,9.11,7.12,1.16,1.16,0,0,0,7.94,5.93Zm5.9,3.93a2.34,2.34,0,0,1-1.67-.68,2.3,2.3,0,0,1-.68-1.67,2.35,2.35,0,0,1,4-1.67,2.37,2.37,0,0,1,0,3.34,2.33,2.33,0,0,1-1.68.68Zm0-3.14a.75.75,0,1,0,.55.22.73.73,0,0,0-.55-.22Z" transform="translate(-4.41 -4.35)"/></g></svg>', | ||
link: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 15.72"><g><path d="M13.05,13.63a.24.24,0,0,1,.15.22L13.42,16a.19.19,0,0,1-.08.18l-2.12,2.14a4.08,4.08,0,0,1-1.29.85A4,4,0,0,1,4.71,17a3.92,3.92,0,0,1-.3-1.52A4,4,0,0,1,4.71,14a3.91,3.91,0,0,1,.87-1.3L7.7,10.56a.25.25,0,0,1,.2-.06l2.17.22a.21.21,0,0,1,.19.15.24.24,0,0,1,0,.25L7.12,14.23a1.81,1.81,0,0,0,0,2.58,1.78,1.78,0,0,0,1.29.52,1.74,1.74,0,0,0,1.28-.52L12.8,13.7a.24.24,0,0,1,.25-.07ZM19,4.92a4,4,0,0,1,0,5.66L16.86,12.7a.25.25,0,0,1-.17.08l-2.2-.23a.21.21,0,0,1-.19-.15.22.22,0,0,1,0-.25L17.44,9a1.81,1.81,0,0,0,0-2.58,1.78,1.78,0,0,0-1.29-.52,1.74,1.74,0,0,0-1.28.52L11.76,9.57a.21.21,0,0,1-.25,0,.24.24,0,0,1-.16-.21l-.22-2.17a.19.19,0,0,1,.08-.18l2.12-2.14a4.08,4.08,0,0,1,1.29-.85,4.05,4.05,0,0,1,3.06,0,3.85,3.85,0,0,1,1.3.85ZM5.84,9.82a.25.25,0,0,1-.18-.08.19.19,0,0,1-.07-.19l.11-.77a.2.2,0,0,1,.11-.17.24.24,0,0,1,.2,0l2.5.72a.25.25,0,0,1,.15.27.22.22,0,0,1-.23.21l-2.59,0Zm4.12-2-.73-2.5a.27.27,0,0,1,0-.2A.21.21,0,0,1,9.41,5L10.19,5a.25.25,0,0,1,.19,0,.23.23,0,0,1,.08.18l-.05,2.61a.2.2,0,0,1-.19.23h0A.22.22,0,0,1,10,7.85Zm8.76,5.58a.25.25,0,0,1,.18.08.23.23,0,0,1,.06.2l-.11.77a.25.25,0,0,1-.11.17.21.21,0,0,1-.12,0l-.08,0L16,14a.25.25,0,0,1-.15-.27.22.22,0,0,1,.22-.21l1.29,0,1.33,0Zm-4.12,2,.74,2.51a.28.28,0,0,1,0,.2.23.23,0,0,1-.18.11l-.8.11a.23.23,0,0,1-.17-.07.25.25,0,0,1-.08-.18l0-2.61a.22.22,0,0,1,.22-.22.21.21,0,0,1,.26.15Z" transform="translate(-4.41 -3.77)"/></g></svg>', | ||
link_rel: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 1C1.89 1 1 1.89 1 3V14C1 15.11 1.89 16 3 16H14C15.11 16 16 15.11 16 14V11H14V14H3V3H14V5H16V3C16 1.89 15.11 1 14 1M9 7C7.89 7 7 7.89 7 9V12H9V9H20V20H9V18H7V20C7 21.11 7.89 22 9 22H20C21.11 22 22 21.11 22 20V9C22 7.89 21.11 7 20 7H9" /></svg>', | ||
math: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11.81 15.73"><g><path d="M17.19,5.73a1,1,0,0,0,.71-.29,1,1,0,0,0,.28-.7,1,1,0,0,0-1-1H7.35a1,1,0,0,0-1,1,.77.77,0,0,0,.13.47h0l4.58,6.43L6.68,17.81a1.25,1.25,0,0,0-.29.71.94.94,0,0,0,.28.7.92.92,0,0,0,.69.28H17.2a1,1,0,0,0,.71-.28,1,1,0,0,0,0-1.39.92.92,0,0,0-.71-.29H9.26l3.87-5.43a.86.86,0,0,0,0-.95L9.26,5.73h7.93Z" transform="translate(-6.38 -3.77)"/></g></svg>', | ||
unlink: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 15.72"><g><path d="M19,18.32a4,4,0,0,0,0-5.68L15.85,9.5l-1.17,1.55L17.57,14a2,2,0,0,1,.61,1.47,2.08,2.08,0,0,1-2.09,2.09,2,2,0,0,1-1.47-.61l-.38-.37-1.74,1,.8.78a4,4,0,0,0,5.68,0ZM8,9.77a2,2,0,0,1-1.27-1,1.89,1.89,0,0,1-.21-1.57A2.1,2.1,0,0,1,7.45,6,2,2,0,0,1,9,5.76L12.27,7.2l.49-2L9.48,3.9a4,4,0,0,0-3.06.41A3.82,3.82,0,0,0,4.56,6.73a3.8,3.8,0,0,0,.4,3A3.78,3.78,0,0,0,7.39,11.6l5.38,2,.49-2-2.64-.94L8,9.77Z" transform="translate(-4.41 -3.76)"/></g></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 1C1.89 1 1 1.89 1 3V14C1 15.11 1.89 16 3 16H14C15.11 16 16 15.11 16 14V11H14V14H3V3H14V5H16V3C16 1.89 15.11 1 14 1M9 7C7.89 7 7 7.89 7 9V12H9V9H20V20H9V18H7V20C7 21.11 7.89 22 9 22H20C21.11 22 22 21.11 22 20V9C22 7.89 21.11 7 20 7H9" /></svg>', | ||
math: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.42,5.29C11.32,5.19 10.35,6 10.25,7.11L10,10H12.82V12H9.82L9.38,17.07C9.18,19.27 7.24,20.9 5.04,20.7C3.79,20.59 2.66,19.9 2,18.83L3.5,17.33C3.83,18.38 4.96,18.97 6,18.63C6.78,18.39 7.33,17.7 7.4,16.89L7.82,12H4.82V10H8L8.27,6.93C8.46,4.73 10.39,3.1 12.6,3.28C13.86,3.39 15,4.09 15.66,5.17L14.16,6.67C13.91,5.9 13.23,5.36 12.42,5.29M22,13.65L20.59,12.24L17.76,15.07L14.93,12.24L13.5,13.65L16.35,16.5L13.5,19.31L14.93,20.72L17.76,17.89L20.59,20.72L22,19.31L19.17,16.5L22,13.65Z" /></svg>', | ||
unlink: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 15.72"><g><path d="M19,18.32a4,4,0,0,0,0-5.68L15.85,9.5l-1.17,1.55L17.57,14a2,2,0,0,1,.61,1.47,2.08,2.08,0,0,1-2.09,2.09,2,2,0,0,1-1.47-.61l-.38-.37-1.74,1,.8.78a4,4,0,0,0,5.68,0ZM8,9.77a2,2,0,0,1-1.27-1,1.89,1.89,0,0,1-.21-1.57A2.1,2.1,0,0,1,7.45,6,2,2,0,0,1,9,5.76L12.27,7.2l.49-2L9.48,3.9a4,4,0,0,0-3.06.41A3.82,3.82,0,0,0,4.56,6.73a3.8,3.8,0,0,0,.4,3A3.78,3.78,0,0,0,7.39,11.6l5.38,2,.49-2-2.64-.94L8,9.77Z" transform="translate(-4.41 -3.76)"/></g></svg>', | ||
merge_cell: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5,10H3V4H11V6H5V10M19,18H13V20H21V14H19V18M5,18V14H3V20H11V18H5M21,4H13V6H19V10H21V4M8,13V15L11,12L8,9V11H3V13H8M16,11V9L13,12L16,15V13H21V11H16Z" /></svg>', | ||
split_cell: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 14H21V20H3V14H5V18H19V14M3 4V10H5V6H19V10H21V4H3M11 11V13H8V15L5 12L8 9V11H11M16 11V9L19 12L16 15V13H13V11H16Z" /></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5,10H3V4H11V6H5V10M19,18H13V20H21V14H19V18M5,18V14H3V20H11V18H5M21,4H13V6H19V10H21V4M8,13V15L11,12L8,9V11H3V13H8M16,11V9L13,12L16,15V13H21V11H16Z" /></svg>', | ||
split_cell: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 14H21V20H3V14H5V18H19V14M3 4V10H5V6H19V10H21V4H3M11 11V13H8V15L5 12L8 9V11H11M16 11V9L19 12L16 15V13H13V11H16Z" /></svg>', | ||
caption: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 13.79"><g><path d="M4.41,18.52H20.15v-2H4.41ZM20,4.73H18.07V6h.65v.65H20V4.73ZM17,6V4.73H14.55V6H17ZM13.49,6V4.73H11V6h2.47ZM10,6V4.73H7.5V6H10ZM5.79,6h.65V4.73H4.5V6.67H5.8V6ZM4.5,11.34H5.79V8.48H4.5ZM6.44,13.8H5.79v-.65H4.5v1.94H6.44ZM17,15.09V13.8H14.55v1.29H17Zm-3.52,0V13.8H11v1.29h2.47Zm-3.53,0V13.8H7.5v1.29H10ZM20,13.16H18.72v.65h-.65V15.1H20Zm-1.29-1.82H20V8.48h-1.3v2.86Z" transform="translate(-4.41 -4.73)"/></g></svg>', | ||
edit: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 15.73"><g><path d="M7.51,5.68h6l1.52-1.57H6.94a2.4,2.4,0,0,0-1.79.82A2.8,2.8,0,0,0,4.41,6.8V17a2.55,2.55,0,0,0,.75,1.8A2.48,2.48,0,0,0,7,19.5H17.22a2.57,2.57,0,0,0,1.83-.74,2.52,2.52,0,0,0,.77-1.8V8.83l-1.58,1.54v6a1.54,1.54,0,0,1-1.53,1.53H7.51A1.54,1.54,0,0,1,6,16.41V7.21A1.52,1.52,0,0,1,7.51,5.68Zm5.63,7.47h0L10.7,10.74l-1,3.38,1.71-.48,1.7-.49Zm.34-.34h0l5.36-5.32L16.4,5.08,11,10.4l1.23,1.21,1.21,1.2ZM19.93,6.4a.82.82,0,0,0,.22-.48A.54.54,0,0,0,20,5.47L18.45,4A.67.67,0,0,0,18,3.77a.7.7,0,0,0-.48.21l-.74.72,2.44,2.43.37-.37.35-.36Z" transform="translate(-4.41 -3.77)"/></g></svg>', | ||
delete: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.73 15.74"><g><path d="M19.16,6.71a.94.94,0,0,0,.69-.28.91.91,0,0,0,.29-.68A1,1,0,0,0,19.85,5a.93.93,0,0,0-.69-.3H14.24A.94.94,0,0,0,14,4.06a.92.92,0,0,0-.7-.3h-2a1,1,0,0,0-.7.3.93.93,0,0,0-.28.68H5.39A.92.92,0,0,0,4.7,5a1,1,0,0,0-.29.71.91.91,0,0,0,.29.68,1,1,0,0,0,.69.28H19.16Zm-12.79,1a1,1,0,0,0-.7.3.94.94,0,0,0-.28.69v8.85A1.88,1.88,0,0,0,6,18.93a1.9,1.9,0,0,0,1.39.57H17.2a1.87,1.87,0,0,0,1.39-.58,1.91,1.91,0,0,0,.58-1.39V8.68A1,1,0,0,0,18.88,8a.89.89,0,0,0-.7-.29,1,1,0,0,0-.69.29.92.92,0,0,0-.29.68v7.87a1,1,0,0,1-1,1H8.34a.94.94,0,0,1-.69-.28,1,1,0,0,1-.29-.71V8.68a1,1,0,0,0-1-1Z" transform="translate(-4.41 -3.76)"/></g></svg>', | ||
revert: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.76 14.69"><g><path d="M18.26,15V12.3l1.89-2V15a2.58,2.58,0,0,1-.24,1c-.2.58-.75.92-1.65,1H7.56v2L4.41,15.63,7.56,13v2h10.7ZM6.3,8.28V11L4.41,13V8.28a2.58,2.58,0,0,1,.24-1c.2-.58.75-.92,1.65-1H17v-2l3.15,3.34L17,10.3v-2H6.3Z" transform="translate(-4.4 -4.28)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 13.79"><g><path d="M4.41,18.52H20.15v-2H4.41ZM20,4.73H18.07V6h.65v.65H20V4.73ZM17,6V4.73H14.55V6H17ZM13.49,6V4.73H11V6h2.47ZM10,6V4.73H7.5V6H10ZM5.79,6h.65V4.73H4.5V6.67H5.8V6ZM4.5,11.34H5.79V8.48H4.5ZM6.44,13.8H5.79v-.65H4.5v1.94H6.44ZM17,15.09V13.8H14.55v1.29H17Zm-3.52,0V13.8H11v1.29h2.47Zm-3.53,0V13.8H7.5v1.29H10ZM20,13.16H18.72v.65h-.65V15.1H20Zm-1.29-1.82H20V8.48h-1.3v2.86Z" transform="translate(-4.41 -4.73)"/></g></svg>', | ||
edit: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 15.73"><g><path d="M7.51,5.68h6l1.52-1.57H6.94a2.4,2.4,0,0,0-1.79.82A2.8,2.8,0,0,0,4.41,6.8V17a2.55,2.55,0,0,0,.75,1.8A2.48,2.48,0,0,0,7,19.5H17.22a2.57,2.57,0,0,0,1.83-.74,2.52,2.52,0,0,0,.77-1.8V8.83l-1.58,1.54v6a1.54,1.54,0,0,1-1.53,1.53H7.51A1.54,1.54,0,0,1,6,16.41V7.21A1.52,1.52,0,0,1,7.51,5.68Zm5.63,7.47h0L10.7,10.74l-1,3.38,1.71-.48,1.7-.49Zm.34-.34h0l5.36-5.32L16.4,5.08,11,10.4l1.23,1.21,1.21,1.2ZM19.93,6.4a.82.82,0,0,0,.22-.48A.54.54,0,0,0,20,5.47L18.45,4A.67.67,0,0,0,18,3.77a.7.7,0,0,0-.48.21l-.74.72,2.44,2.43.37-.37.35-.36Z" transform="translate(-4.41 -3.77)"/></g></svg>', | ||
delete: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.73 15.74"><g><path d="M19.16,6.71a.94.94,0,0,0,.69-.28.91.91,0,0,0,.29-.68A1,1,0,0,0,19.85,5a.93.93,0,0,0-.69-.3H14.24A.94.94,0,0,0,14,4.06a.92.92,0,0,0-.7-.3h-2a1,1,0,0,0-.7.3.93.93,0,0,0-.28.68H5.39A.92.92,0,0,0,4.7,5a1,1,0,0,0-.29.71.91.91,0,0,0,.29.68,1,1,0,0,0,.69.28H19.16Zm-12.79,1a1,1,0,0,0-.7.3.94.94,0,0,0-.28.69v8.85A1.88,1.88,0,0,0,6,18.93a1.9,1.9,0,0,0,1.39.57H17.2a1.87,1.87,0,0,0,1.39-.58,1.91,1.91,0,0,0,.58-1.39V8.68A1,1,0,0,0,18.88,8a.89.89,0,0,0-.7-.29,1,1,0,0,0-.69.29.92.92,0,0,0-.29.68v7.87a1,1,0,0,1-1,1H8.34a.94.94,0,0,1-.69-.28,1,1,0,0,1-.29-.71V8.68a1,1,0,0,0-1-1Z" transform="translate(-4.41 -3.76)"/></g></svg>', | ||
revert: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.76 14.69"><g><path d="M18.26,15V12.3l1.89-2V15a2.58,2.58,0,0,1-.24,1c-.2.58-.75.92-1.65,1H7.56v2L4.41,15.63,7.56,13v2h10.7ZM6.3,8.28V11L4.41,13V8.28a2.58,2.58,0,0,1,.24-1c.2-.58.75-.92,1.65-1H17v-2l3.15,3.34L17,10.3v-2H6.3Z" transform="translate(-4.4 -4.28)"/></g></svg>', | ||
auto_size: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 15.74"><g><path d="M6.71,17.19,6.89,16l1.21-.15A6,6,0,0,1,6.81,13.9a5.78,5.78,0,0,1-.45-2.27A6,6,0,0,1,8.1,7.45a5.83,5.83,0,0,1,4.17-1.73l1-1-1-1A7.89,7.89,0,0,0,5,14.64a7.73,7.73,0,0,0,1.71,2.55Zm5.57,2.31h0A7.86,7.86,0,0,0,17.85,6.07L17.67,7.3l-1.21.15a5.9,5.9,0,0,1,1.29,1.92,5.81,5.81,0,0,1,.45,2.26,5.91,5.91,0,0,1-5.9,5.9l-1,1,.49.49.47.5Z" transform="translate(-4.41 -3.76)"/></g></svg>', | ||
resize: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M23,15H21V17H23V15M23,11H21V13H23V11M23,19H21V21C22,21 23,20 23,19M15,3H13V5H15V3M23,7H21V9H23V7M21,3V5H23C23,4 22,3 21,3M3,21H11V15H1V19A2,2 0 0,0 3,21M3,7H1V9H3V7M15,19H13V21H15V19M19,3H17V5H19V3M19,19H17V21H19V19M3,3C2,3 1,4 1,5H3V3M3,11H1V13H3V11M11,3H9V5H11V3M7,3H5V5H7V3Z" /></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 15.74"><g><path d="M6.71,17.19,6.89,16l1.21-.15A6,6,0,0,1,6.81,13.9a5.78,5.78,0,0,1-.45-2.27A6,6,0,0,1,8.1,7.45a5.83,5.83,0,0,1,4.17-1.73l1-1-1-1A7.89,7.89,0,0,0,5,14.64a7.73,7.73,0,0,0,1.71,2.55Zm5.57,2.31h0A7.86,7.86,0,0,0,17.85,6.07L17.67,7.3l-1.21.15a5.9,5.9,0,0,1,1.29,1.92,5.81,5.81,0,0,1,.45,2.26,5.91,5.91,0,0,1-5.9,5.9l-1,1,.49.49.47.5Z" transform="translate(-4.41 -3.76)"/></g></svg>', | ||
resize: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M23,15H21V17H23V15M23,11H21V13H23V11M23,19H21V21C22,21 23,20 23,19M15,3H13V5H15V3M23,7H21V9H23V7M21,3V5H23C23,4 22,3 21,3M3,21H11V15H1V19A2,2 0 0,0 3,21M3,7H1V9H3V7M15,19H13V21H15V19M19,3H17V5H19V3M19,19H17V21H19V19M3,3C2,3 1,4 1,5H3V3M3,11H1V13H3V11M11,3H9V5H11V3M7,3H5V5H7V3Z" /></svg>', | ||
insert_row_below: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.8 15.8"><g><path d="M15.7,1.3c-0.1-0.1-0.1-0.2-0.2-0.2L15.3,1H0.4L0.3,1.1c0,0-0.1,0.1-0.1,0.1c0,0-0.1,0.1-0.1,0.1L0,1.4v7.7l0.1,0.1c0,0.1,0.1,0.1,0.2,0.2l0.1,0.1h2.3V9.3l0.1-0.5L3,8.5l0.1-0.2c-0.1,0-0.2,0-0.3,0H1.2v-6h13.3v6h-1.6c-0.1,0-0.2,0-0.3,0l0.1,0.2l0.2,0.4C12.9,9,13,9.2,13,9.3v0.1h2.3l0.2-0.1c0.1,0,0.1-0.1,0.2-0.2l0.1-0.1V1.4L15.7,1.3z"/><path d="M10.5,7.5C9.9,7.1,9.3,6.8,8.6,6.7c-0.2,0-0.5-0.1-0.7,0c-0.2,0-0.5,0-0.7,0C6.6,6.7,6.1,6.9,5.6,7.3C5.2,7.6,4.7,8,4.4,8.4C4.3,8.6,4.2,8.8,4.2,8.9C4.1,9.1,4,9.3,3.9,9.4C3.9,9.6,3.8,9.7,3.8,9.9c0,0.2-0.1,0.3-0.1,0.5v-0.1c-0.1,0.8,0.1,1.6,0.5,2.4c0.4,0.7,1,1.3,1.7,1.7c0.3,0.2,0.6,0.3,0.9,0.3c0.3,0.1,0.7,0.1,1,0.1c0.3,0,0.7,0,1-0.1c0.3-0.1,0.6-0.2,0.9-0.3c0.5-0.3,0.9-0.6,1.3-1c0.3-0.4,0.6-0.8,0.8-1.3c0.1-0.4,0.2-0.9,0.2-1.4c0-0.5-0.1-1-0.3-1.4C11.5,8.6,11.1,8,10.5,7.5z M10.1,11.3H8.5v1.6H8H7.9H7.3v0v-0.1v-1.4H5.7v-0.4v-0.2v-0.6h0h1.5V8.5h1.2v1.6h1.6V11.3z"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.8 15.8"><g><path d="M15.7,1.3c-0.1-0.1-0.1-0.2-0.2-0.2L15.3,1H0.4L0.3,1.1c0,0-0.1,0.1-0.1,0.1c0,0-0.1,0.1-0.1,0.1L0,1.4v7.7l0.1,0.1c0,0.1,0.1,0.1,0.2,0.2l0.1,0.1h2.3V9.3l0.1-0.5L3,8.5l0.1-0.2c-0.1,0-0.2,0-0.3,0H1.2v-6h13.3v6h-1.6c-0.1,0-0.2,0-0.3,0l0.1,0.2l0.2,0.4C12.9,9,13,9.2,13,9.3v0.1h2.3l0.2-0.1c0.1,0,0.1-0.1,0.2-0.2l0.1-0.1V1.4L15.7,1.3z"/><path d="M10.5,7.5C9.9,7.1,9.3,6.8,8.6,6.7c-0.2,0-0.5-0.1-0.7,0c-0.2,0-0.5,0-0.7,0C6.6,6.7,6.1,6.9,5.6,7.3C5.2,7.6,4.7,8,4.4,8.4C4.3,8.6,4.2,8.8,4.2,8.9C4.1,9.1,4,9.3,3.9,9.4C3.9,9.6,3.8,9.7,3.8,9.9c0,0.2-0.1,0.3-0.1,0.5v-0.1c-0.1,0.8,0.1,1.6,0.5,2.4c0.4,0.7,1,1.3,1.7,1.7c0.3,0.2,0.6,0.3,0.9,0.3c0.3,0.1,0.7,0.1,1,0.1c0.3,0,0.7,0,1-0.1c0.3-0.1,0.6-0.2,0.9-0.3c0.5-0.3,0.9-0.6,1.3-1c0.3-0.4,0.6-0.8,0.8-1.3c0.1-0.4,0.2-0.9,0.2-1.4c0-0.5-0.1-1-0.3-1.4C11.5,8.6,11.1,8,10.5,7.5z M10.1,11.3H8.5v1.6H8H7.9H7.3v0v-0.1v-1.4H5.7v-0.4v-0.2v-0.6h0h1.5V8.5h1.2v1.6h1.6V11.3z"/></g></svg>', | ||
insert_row_above: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.8 15.8"><g><path d="M0.1,14.5c0.1,0.1,0.1,0.2,0.2,0.2l0.1,0.1h14.9l0.1-0.1c0,0,0.1-0.1,0.1-0.1c0,0,0.1-0.1,0.1-0.1l0.1-0.1V6.7l-0.1-0.1c0-0.1-0.1-0.1-0.2-0.2l-0.1-0.1h-2.3v0.1l-0.1,0.5l-0.2,0.4l-0.1,0.2c0.1,0,0.2,0,0.3,0h1.6v6H1.3v-6h1.6c0.1,0,0.2,0,0.3,0L3.1,7.3L2.9,6.9C2.8,6.8,2.8,6.6,2.7,6.5V6.3H0.4L0.3,6.4c-0.1,0-0.1,0.1-0.2,0.2L0,6.7v7.7L0.1,14.5z"/><path d="M5.3,8.3c0.6,0.5,1.2,0.8,1.9,0.9c0.2,0,0.5,0.1,0.7,0c0.2,0,0.5,0,0.7,0c0.6-0.1,1.1-0.3,1.6-0.6c0.5-0.3,0.9-0.7,1.2-1.2c0.1-0.2,0.2-0.3,0.3-0.5c0.1-0.2,0.2-0.4,0.2-0.5c0.1-0.1,0.1-0.3,0.1-0.4C12,5.8,12,5.6,12,5.4v0.1c0.1-0.8-0.1-1.6-0.5-2.4c-0.4-0.7-1-1.3-1.7-1.7C9.5,1.3,9.2,1.2,8.9,1.1C8.5,1,8.2,1,7.9,1c-0.3,0-0.7,0-1,0.1C6.6,1.2,6.3,1.3,6,1.4C5.5,1.7,5.1,2,4.7,2.4C4.4,2.8,4.1,3.3,3.9,3.8C3.8,4.2,3.7,4.7,3.7,5.2c0,0.5,0.1,1,0.3,1.4C4.3,7.2,4.7,7.8,5.3,8.3z M5.7,4.5h1.6V2.9h0.5h0.1h0.6v0v0.1v1.4H10v0.4v0.2v0.6h0H8.5v1.6H7.3V5.7H5.7V4.5z"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.8 15.8"><g><path d="M0.1,14.5c0.1,0.1,0.1,0.2,0.2,0.2l0.1,0.1h14.9l0.1-0.1c0,0,0.1-0.1,0.1-0.1c0,0,0.1-0.1,0.1-0.1l0.1-0.1V6.7l-0.1-0.1c0-0.1-0.1-0.1-0.2-0.2l-0.1-0.1h-2.3v0.1l-0.1,0.5l-0.2,0.4l-0.1,0.2c0.1,0,0.2,0,0.3,0h1.6v6H1.3v-6h1.6c0.1,0,0.2,0,0.3,0L3.1,7.3L2.9,6.9C2.8,6.8,2.8,6.6,2.7,6.5V6.3H0.4L0.3,6.4c-0.1,0-0.1,0.1-0.2,0.2L0,6.7v7.7L0.1,14.5z"/><path d="M5.3,8.3c0.6,0.5,1.2,0.8,1.9,0.9c0.2,0,0.5,0.1,0.7,0c0.2,0,0.5,0,0.7,0c0.6-0.1,1.1-0.3,1.6-0.6c0.5-0.3,0.9-0.7,1.2-1.2c0.1-0.2,0.2-0.3,0.3-0.5c0.1-0.2,0.2-0.4,0.2-0.5c0.1-0.1,0.1-0.3,0.1-0.4C12,5.8,12,5.6,12,5.4v0.1c0.1-0.8-0.1-1.6-0.5-2.4c-0.4-0.7-1-1.3-1.7-1.7C9.5,1.3,9.2,1.2,8.9,1.1C8.5,1,8.2,1,7.9,1c-0.3,0-0.7,0-1,0.1C6.6,1.2,6.3,1.3,6,1.4C5.5,1.7,5.1,2,4.7,2.4C4.4,2.8,4.1,3.3,3.9,3.8C3.8,4.2,3.7,4.7,3.7,5.2c0,0.5,0.1,1,0.3,1.4C4.3,7.2,4.7,7.8,5.3,8.3z M5.7,4.5h1.6V2.9h0.5h0.1h0.6v0v0.1v1.4H10v0.4v0.2v0.6h0H8.5v1.6H7.3V5.7H5.7V4.5z"/></g></svg>', | ||
insert_column_left: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.8 15.8"><g><path d="M14.5,15.7c0.1-0.1,0.2-0.1,0.2-0.2l0.1-0.1V0.4l-0.1-0.1c0,0-0.1-0.1-0.1-0.1c0,0-0.1-0.1-0.1-0.1L14.4,0H6.7L6.6,0.1c-0.1,0-0.1,0.1-0.2,0.2L6.3,0.4v2.3h0.1l0.5,0.1L7.3,3l0.2,0.1c0-0.1,0-0.2,0-0.3V1.2h6v13.3h-6v-1.6c0-0.1,0-0.2,0-0.3l-0.2,0.1l-0.4,0.2C6.7,12.9,6.6,13,6.4,13H6.3v2.3l0.1,0.2c0,0.1,0.1,0.1,0.2,0.2l0.1,0.1h7.7L14.5,15.7z"/><path d="M8.3,10.5C8.7,10,9,9.3,9.1,8.6c0-0.2,0.1-0.5,0-0.7c0-0.2,0-0.5,0-0.7C9,6.7,8.8,6.1,8.5,5.7C8.2,5.2,7.8,4.8,7.3,4.5C7.2,4.4,7,4.3,6.9,4.2C6.7,4.1,6.5,4,6.4,4C6.2,3.9,6.1,3.9,5.9,3.8c-0.2,0-0.3-0.1-0.5-0.1h0.1C4.7,3.7,3.8,3.9,3.1,4.3C2.4,4.7,1.8,5.3,1.4,6C1.3,6.3,1.2,6.6,1.1,6.9C1,7.2,1,7.6,1,7.9c0,0.3,0,0.7,0.1,1c0.1,0.3,0.2,0.6,0.3,0.9c0.3,0.5,0.6,0.9,1,1.3c0.4,0.3,0.8,0.6,1.3,0.8C4.2,12,4.7,12.1,5.1,12c0.5,0,1-0.1,1.4-0.3C7.2,11.5,7.8,11.1,8.3,10.5zM4.5,10.1V8.5H2.9V8V7.9V7.3h0H3h1.4V5.7h0.4h0.2h0.6v0v1.5h1.6v1.2H5.7v1.6H4.5z"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.8 15.8"><g><path d="M14.5,15.7c0.1-0.1,0.2-0.1,0.2-0.2l0.1-0.1V0.4l-0.1-0.1c0,0-0.1-0.1-0.1-0.1c0,0-0.1-0.1-0.1-0.1L14.4,0H6.7L6.6,0.1c-0.1,0-0.1,0.1-0.2,0.2L6.3,0.4v2.3h0.1l0.5,0.1L7.3,3l0.2,0.1c0-0.1,0-0.2,0-0.3V1.2h6v13.3h-6v-1.6c0-0.1,0-0.2,0-0.3l-0.2,0.1l-0.4,0.2C6.7,12.9,6.6,13,6.4,13H6.3v2.3l0.1,0.2c0,0.1,0.1,0.1,0.2,0.2l0.1,0.1h7.7L14.5,15.7z"/><path d="M8.3,10.5C8.7,10,9,9.3,9.1,8.6c0-0.2,0.1-0.5,0-0.7c0-0.2,0-0.5,0-0.7C9,6.7,8.8,6.1,8.5,5.7C8.2,5.2,7.8,4.8,7.3,4.5C7.2,4.4,7,4.3,6.9,4.2C6.7,4.1,6.5,4,6.4,4C6.2,3.9,6.1,3.9,5.9,3.8c-0.2,0-0.3-0.1-0.5-0.1h0.1C4.7,3.7,3.8,3.9,3.1,4.3C2.4,4.7,1.8,5.3,1.4,6C1.3,6.3,1.2,6.6,1.1,6.9C1,7.2,1,7.6,1,7.9c0,0.3,0,0.7,0.1,1c0.1,0.3,0.2,0.6,0.3,0.9c0.3,0.5,0.6,0.9,1,1.3c0.4,0.3,0.8,0.6,1.3,0.8C4.2,12,4.7,12.1,5.1,12c0.5,0,1-0.1,1.4-0.3C7.2,11.5,7.8,11.1,8.3,10.5zM4.5,10.1V8.5H2.9V8V7.9V7.3h0H3h1.4V5.7h0.4h0.2h0.6v0v1.5h1.6v1.2H5.7v1.6H4.5z"/></g></svg>', | ||
insert_column_right: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.8 15.8"><g><path d="M1.3,0.1C1.2,0.2,1.1,0.2,1.1,0.3L1,0.4v14.9l0.1,0.1c0,0,0.1,0.1,0.1,0.1c0,0,0.1,0.1,0.1,0.1l0.1,0.1h7.7l0.1-0.1c0.1,0,0.1-0.1,0.2-0.2l0.1-0.1v-2.3H9.3l-0.5-0.1l-0.4-0.2l-0.2-0.1c0,0.1,0,0.2,0,0.3v1.6h-6V1.3h6v1.6c0,0.1,0,0.2,0,0.3l0.2-0.1l0.4-0.2C9,2.9,9.2,2.8,9.3,2.8h0.1V0.5L9.4,0.3c0-0.1-0.1-0.1-0.2-0.2L9.1,0H1.4L1.3,0.1z"/><path d="M7.5,5.3C7,5.8,6.7,6.5,6.6,7.2c0,0.2-0.1,0.5,0,0.7c0,0.2,0,0.5,0,0.7c0.1,0.6,0.3,1.1,0.6,1.6c0.3,0.5,0.7,0.9,1.2,1.2c0.2,0.1,0.3,0.2,0.5,0.3c0.2,0.1,0.4,0.2,0.5,0.2c0.1,0.1,0.3,0.1,0.4,0.1c0.2,0,0.3,0.1,0.5,0.1h-0.1c0.8,0.1,1.6-0.1,2.4-0.5c0.7-0.4,1.3-1,1.7-1.7c0.2-0.3,0.3-0.6,0.3-0.9c0.1-0.3,0.1-0.7,0.1-1c0-0.3,0-0.7-0.1-1c-0.1-0.3-0.2-0.6-0.3-0.9c-0.3-0.5-0.6-0.9-1-1.3C13,4.4,12.5,4.2,12,4c-0.4-0.1-0.9-0.2-1.4-0.2c-0.5,0-1,0.1-1.4,0.2C8.5,4.3,7.9,4.7,7.5,5.3z M11.3,5.7v1.6h1.6v0.5v0.1v0.6h0h-0.1h-1.4v1.6h-0.4h-0.2h-0.6v0V8.5H8.5V7.3h1.6V5.7H11.3z"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.8 15.8"><g><path d="M1.3,0.1C1.2,0.2,1.1,0.2,1.1,0.3L1,0.4v14.9l0.1,0.1c0,0,0.1,0.1,0.1,0.1c0,0,0.1,0.1,0.1,0.1l0.1,0.1h7.7l0.1-0.1c0.1,0,0.1-0.1,0.2-0.2l0.1-0.1v-2.3H9.3l-0.5-0.1l-0.4-0.2l-0.2-0.1c0,0.1,0,0.2,0,0.3v1.6h-6V1.3h6v1.6c0,0.1,0,0.2,0,0.3l0.2-0.1l0.4-0.2C9,2.9,9.2,2.8,9.3,2.8h0.1V0.5L9.4,0.3c0-0.1-0.1-0.1-0.2-0.2L9.1,0H1.4L1.3,0.1z"/><path d="M7.5,5.3C7,5.8,6.7,6.5,6.6,7.2c0,0.2-0.1,0.5,0,0.7c0,0.2,0,0.5,0,0.7c0.1,0.6,0.3,1.1,0.6,1.6c0.3,0.5,0.7,0.9,1.2,1.2c0.2,0.1,0.3,0.2,0.5,0.3c0.2,0.1,0.4,0.2,0.5,0.2c0.1,0.1,0.3,0.1,0.4,0.1c0.2,0,0.3,0.1,0.5,0.1h-0.1c0.8,0.1,1.6-0.1,2.4-0.5c0.7-0.4,1.3-1,1.7-1.7c0.2-0.3,0.3-0.6,0.3-0.9c0.1-0.3,0.1-0.7,0.1-1c0-0.3,0-0.7-0.1-1c-0.1-0.3-0.2-0.6-0.3-0.9c-0.3-0.5-0.6-0.9-1-1.3C13,4.4,12.5,4.2,12,4c-0.4-0.1-0.9-0.2-1.4-0.2c-0.5,0-1,0.1-1.4,0.2C8.5,4.3,7.9,4.7,7.5,5.3z M11.3,5.7v1.6h1.6v0.5v0.1v0.6h0h-0.1h-1.4v1.6h-0.4h-0.2h-0.6v0V8.5H8.5V7.3h1.6V5.7H11.3z"/></g></svg>', | ||
delete_row: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.75 13.83"><g><path d="M4.7,18.46l.12.08H19.73l.12-.08a.58.58,0,0,0,.22-.22l.08-.12,0-7.69-.08-.11a.77.77,0,0,0-.18-.18l-.11-.08-2.31,0-.08.28-.1.29a1.58,1.58,0,0,1-.12.29l-.14.34s0,0,.18,0H18.9v6H5.64v-6H7.35c.14,0,.2,0,.18,0l-.14-.34a2.85,2.85,0,0,1-.12-.29l-.1-.29-.07-.27-2.31,0-.11.08a.77.77,0,0,0-.18.18l-.08.11,0,7.69.08.12a.47.47,0,0,0,.09.12l.13.09ZM12.11,13a4,4,0,0,0,1.46-.21,4.51,4.51,0,0,0,1.31-.71A4,4,0,0,0,16.26,10a4.32,4.32,0,0,0-.08-2.54,4.34,4.34,0,0,0-1-1.52,4.15,4.15,0,0,0-1.54-1,4.34,4.34,0,0,0-1.35-.22A4.07,4.07,0,0,0,11,4.93,3.94,3.94,0,0,0,9.24,6.07,3.92,3.92,0,0,0,8.15,8.88a3.91,3.91,0,0,0,.12.95A4.16,4.16,0,0,0,12.11,13Zm2.35-4.14v.58H10.09V8.27h4.37v.58Z" transform="translate(-4.4 -4.71)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.75 13.83"><g><path d="M4.7,18.46l.12.08H19.73l.12-.08a.58.58,0,0,0,.22-.22l.08-.12,0-7.69-.08-.11a.77.77,0,0,0-.18-.18l-.11-.08-2.31,0-.08.28-.1.29a1.58,1.58,0,0,1-.12.29l-.14.34s0,0,.18,0H18.9v6H5.64v-6H7.35c.14,0,.2,0,.18,0l-.14-.34a2.85,2.85,0,0,1-.12-.29l-.1-.29-.07-.27-2.31,0-.11.08a.77.77,0,0,0-.18.18l-.08.11,0,7.69.08.12a.47.47,0,0,0,.09.12l.13.09ZM12.11,13a4,4,0,0,0,1.46-.21,4.51,4.51,0,0,0,1.31-.71A4,4,0,0,0,16.26,10a4.32,4.32,0,0,0-.08-2.54,4.34,4.34,0,0,0-1-1.52,4.15,4.15,0,0,0-1.54-1,4.34,4.34,0,0,0-1.35-.22A4.07,4.07,0,0,0,11,4.93,3.94,3.94,0,0,0,9.24,6.07,3.92,3.92,0,0,0,8.15,8.88a3.91,3.91,0,0,0,.12.95A4.16,4.16,0,0,0,12.11,13Zm2.35-4.14v.58H10.09V8.27h4.37v.58Z" transform="translate(-4.4 -4.71)"/></g></svg>', | ||
delete_column: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13.81 15.74"><g><path d="M5.66,19.42l.12.08,7.69,0,.11-.08a.77.77,0,0,0,.18-.18l.08-.11,0-2.32-.15,0-.45-.15-.42-.18-.17-.07a1,1,0,0,0,0,.27v1.63h-6V5h6V6.62a.9.9,0,0,0,0,.26l.17-.07.42-.17a3.91,3.91,0,0,1,.45-.15l.15,0,0-2.32L13.75,4a.77.77,0,0,0-.18-.18l-.11-.08H5.79l-.13.07a.63.63,0,0,0-.21.22l-.08.12V19.08l.08.12a.47.47,0,0,0,.09.12.35.35,0,0,0,.12.1Zm9-3.67a4.16,4.16,0,0,0,2.36-.51,4.08,4.08,0,0,0,1.67-1.72,4,4,0,0,0,.35-.91,3.79,3.79,0,0,0,.1-1,4.71,4.71,0,0,0-.11-1,5,5,0,0,0-.3-.87,4.25,4.25,0,0,0-1-1.25,4.49,4.49,0,0,0-1.34-.81A4.26,4.26,0,0,0,15,7.48a3.88,3.88,0,0,0-1.41.25A4.32,4.32,0,0,0,11.86,9,4,4,0,0,0,11,10.94a4.4,4.4,0,0,0-.05.68,4.5,4.5,0,0,0,.05.68,3.93,3.93,0,0,0,.61,1.57,4.22,4.22,0,0,0,1.18,1.2,4.59,4.59,0,0,0,.48.27c.2.1.37.17.5.22a2.44,2.44,0,0,0,.45.12,4.61,4.61,0,0,0,.5.07Zm2.54-4.12v.58H12.87V11h4.37v.59Z" transform="translate(-5.37 -3.76)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13.81 15.74"><g><path d="M5.66,19.42l.12.08,7.69,0,.11-.08a.77.77,0,0,0,.18-.18l.08-.11,0-2.32-.15,0-.45-.15-.42-.18-.17-.07a1,1,0,0,0,0,.27v1.63h-6V5h6V6.62a.9.9,0,0,0,0,.26l.17-.07.42-.17a3.91,3.91,0,0,1,.45-.15l.15,0,0-2.32L13.75,4a.77.77,0,0,0-.18-.18l-.11-.08H5.79l-.13.07a.63.63,0,0,0-.21.22l-.08.12V19.08l.08.12a.47.47,0,0,0,.09.12.35.35,0,0,0,.12.1Zm9-3.67a4.16,4.16,0,0,0,2.36-.51,4.08,4.08,0,0,0,1.67-1.72,4,4,0,0,0,.35-.91,3.79,3.79,0,0,0,.1-1,4.71,4.71,0,0,0-.11-1,5,5,0,0,0-.3-.87,4.25,4.25,0,0,0-1-1.25,4.49,4.49,0,0,0-1.34-.81A4.26,4.26,0,0,0,15,7.48a3.88,3.88,0,0,0-1.41.25A4.32,4.32,0,0,0,11.86,9,4,4,0,0,0,11,10.94a4.4,4.4,0,0,0-.05.68,4.5,4.5,0,0,0,.05.68,3.93,3.93,0,0,0,.61,1.57,4.22,4.22,0,0,0,1.18,1.2,4.59,4.59,0,0,0,.48.27c.2.1.37.17.5.22a2.44,2.44,0,0,0,.45.12,4.61,4.61,0,0,0,.5.07Zm2.54-4.12v.58H12.87V11h4.37v.59Z" transform="translate(-5.37 -3.76)"/></g></svg>', | ||
fixed_column_width: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5,8H19A2,2 0 0,1 21,10V20A2,2 0 0,1 19,22H5A2,2 0 0,1 3,20V10A2,2 0 0,1 5,8M5,12V15H11V12H5M13,12V15H19V12H13M5,17V20H11V17H5M13,17V20H19V17H13M11,2H21V6H19V4H13V6H11V2Z" /></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5,8H19A2,2 0 0,1 21,10V20A2,2 0 0,1 19,22H5A2,2 0 0,1 3,20V10A2,2 0 0,1 5,8M5,12V15H11V12H5M13,12V15H19V12H13M5,17V20H11V17H5M13,17V20H19V17H13M11,2H21V6H19V4H13V6H11V2Z" /></svg>', | ||
rotate_left: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13,4.07V1L8.45,5.55L13,10V6.09C15.84,6.57 18,9.03 18,12C18,14.97 15.84,17.43 13,17.91V19.93C16.95,19.44 20,16.08 20,12C20,7.92 16.95,4.56 13,4.07M7.1,18.32C8.26,19.22 9.61,19.76 11,19.93V17.9C10.13,17.75 9.29,17.41 8.54,16.87L7.1,18.32M6.09,13H4.07C4.24,14.39 4.79,15.73 5.69,16.89L7.1,15.47C6.58,14.72 6.23,13.88 6.09,13M7.11,8.53L5.7,7.11C4.8,8.27 4.24,9.61 4.07,11H6.09C6.23,10.13 6.58,9.28 7.11,8.53Z" /></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13,4.07V1L8.45,5.55L13,10V6.09C15.84,6.57 18,9.03 18,12C18,14.97 15.84,17.43 13,17.91V19.93C16.95,19.44 20,16.08 20,12C20,7.92 16.95,4.56 13,4.07M7.1,18.32C8.26,19.22 9.61,19.76 11,19.93V17.9C10.13,17.75 9.29,17.41 8.54,16.87L7.1,18.32M6.09,13H4.07C4.24,14.39 4.79,15.73 5.69,16.89L7.1,15.47C6.58,14.72 6.23,13.88 6.09,13M7.11,8.53L5.7,7.11C4.8,8.27 4.24,9.61 4.07,11H6.09C6.23,10.13 6.58,9.28 7.11,8.53Z" /></svg>', | ||
rotate_right: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z" /></svg>', | ||
mirror_horizontal: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.75 15.74"><g><path d="M13.75,3.76l5.9,15.74h-5.9V3.76ZM4.9,19.5,10.8,3.76V19.5H4.9Z" transform="translate(-4.9 -3.76)"/></g></svg>', | ||
mirror_vertical: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 14.75"><g><path d="M20.15,13.1,4.41,19V13.1H20.15ZM4.41,4.25l15.74,5.9H4.41V4.25Z" transform="translate(-4.41 -4.25)"/></g></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10L15.55,5.55Z" /></svg>', | ||
mirror_horizontal: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.75 15.74"><g><path d="M13.75,3.76l5.9,15.74h-5.9V3.76ZM4.9,19.5,10.8,3.76V19.5H4.9Z" transform="translate(-4.9 -3.76)"/></g></svg>', | ||
mirror_vertical: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 14.75"><g><path d="M20.15,13.1,4.41,19V13.1H20.15ZM4.41,4.25l15.74,5.9H4.41V4.25Z" transform="translate(-4.41 -4.25)"/></g></svg>', | ||
checked: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.75 12.1"><g><path d="M4.59,12.23l.12.18L9.43,17.5a.58.58,0,0,0,.84,0L20,7.45h0a.58.58,0,0,0,0-.84l-.85-.85a.58.58,0,0,0-.84,0H18.2l-8.12,8.41a.29.29,0,0,1-.42,0l-3.4-3.63a.58.58,0,0,0-.84,0l-.85.85a.6.6,0,0,0-.14.21.51.51,0,0,0,0,.44c.05.06.1.13.16.19Z" transform="translate(-4.38 -5.58)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.75 12.1"><g><path d="M4.59,12.23l.12.18L9.43,17.5a.58.58,0,0,0,.84,0L20,7.45h0a.58.58,0,0,0,0-.84l-.85-.85a.58.58,0,0,0-.84,0H18.2l-8.12,8.41a.29.29,0,0,1-.42,0l-3.4-3.63a.58.58,0,0,0-.84,0l-.85.85a.6.6,0,0,0-.14.21.51.51,0,0,0,0,.44c.05.06.1.13.16.19Z" transform="translate(-4.38 -5.58)"/></g></svg>', | ||
line_break: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,6a1,1,0,0,0-1,1v4a1,1,0,0,1-1,1H7.41l1.3-1.29A1,1,0,0,0,7.29,9.29l-3,3a1,1,0,0,0-.21.33,1,1,0,0,0,0,.76,1,1,0,0,0,.21.33l3,3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42L7.41,14H17a3,3,0,0,0,3-3V7A1,1,0,0,0,19,6Z"/></svg>', | ||
audio: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z" /></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,6a1,1,0,0,0-1,1v4a1,1,0,0,1-1,1H7.41l1.3-1.29A1,1,0,0,0,7.29,9.29l-3,3a1,1,0,0,0-.21.33,1,1,0,0,0,0,.76,1,1,0,0,0,.21.33l3,3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42L7.41,14H17a3,3,0,0,0,3-3V7A1,1,0,0,0,19,6Z"/></svg>', | ||
audio: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z" /></svg>', | ||
image_gallery: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="30 30 150 150"><g><path d="M152.775,120.548V51.651c0-12.271-9.984-22.254-22.254-22.254H43.727c-12.271,0-22.254,9.983-22.254,22.254v68.896c0,12.27,9.983,22.254,22.254,22.254h86.795C142.791,142.802,152.775,132.817,152.775,120.548z M36.394,51.651c0-4.042,3.291-7.333,7.333-7.333h86.795c4.042,0,7.332,3.291,7.332,7.333v23.917l-14.938-17.767c-1.41-1.678-3.487-2.649-5.68-2.658h-0.029c-2.184,0-4.255,0.954-5.674,2.613L76.709,98.519l-9.096-9.398c-1.427-1.474-3.392-2.291-5.448-2.273c-2.052,0.025-4.004,0.893-5.396,2.4L36.394,111.32V51.651z M41.684,127.585l20.697-22.416l9.312,9.622c1.461,1.511,3.489,2.334,5.592,2.27c2.101-0.066,4.075-1.013,5.44-2.612l34.436-40.308l20.693,24.613v21.794c0,4.042-3.29,7.332-7.332,7.332H43.727C43.018,127.88,42.334,127.775,41.684,127.585z M182.616,152.5V75.657c0-4.12-3.34-7.46-7.461-7.46c-4.119,0-7.46,3.34-7.46,7.46V152.5c0,4.112-3.347,7.46-7.461,7.46h-94c-4.119,0-7.46,3.339-7.46,7.459c0,4.123,3.341,7.462,7.46,7.462h94C172.576,174.881,182.616,164.841,182.616,152.5z"/></g></svg>', | ||
bookmark: '<svg class="se-mdi" viewBox="0 0 24 24"><path d="M17,3H7A2,2 0 0,0 5,5V21L12,18L19,21V5C19,3.89 18.1,3 17,3Z" /></svg>', | ||
download: '<svg class="se-mdi" viewBox="0 0 24 24"><path d="M2 12H4V17H20V12H22V17C22 18.11 21.11 19 20 19H4C2.9 19 2 18.11 2 17V12M12 15L17.55 9.54L16.13 8.13L13 11.25V2H11V11.25L7.88 8.13L6.46 9.55L12 15Z" /></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="30 30 150 150"><g><path d="M152.775,120.548V51.651c0-12.271-9.984-22.254-22.254-22.254H43.727c-12.271,0-22.254,9.983-22.254,22.254v68.896c0,12.27,9.983,22.254,22.254,22.254h86.795C142.791,142.802,152.775,132.817,152.775,120.548z M36.394,51.651c0-4.042,3.291-7.333,7.333-7.333h86.795c4.042,0,7.332,3.291,7.332,7.333v23.917l-14.938-17.767c-1.41-1.678-3.487-2.649-5.68-2.658h-0.029c-2.184,0-4.255,0.954-5.674,2.613L76.709,98.519l-9.096-9.398c-1.427-1.474-3.392-2.291-5.448-2.273c-2.052,0.025-4.004,0.893-5.396,2.4L36.394,111.32V51.651z M41.684,127.585l20.697-22.416l9.312,9.622c1.461,1.511,3.489,2.334,5.592,2.27c2.101-0.066,4.075-1.013,5.44-2.612l34.436-40.308l20.693,24.613v21.794c0,4.042-3.29,7.332-7.332,7.332H43.727C43.018,127.88,42.334,127.775,41.684,127.585z M182.616,152.5V75.657c0-4.12-3.34-7.46-7.461-7.46c-4.119,0-7.46,3.34-7.46,7.46V152.5c0,4.112-3.347,7.46-7.461,7.46h-94c-4.119,0-7.46,3.339-7.46,7.459c0,4.123,3.341,7.462,7.46,7.462h94C172.576,174.881,182.616,164.841,182.616,152.5z"/></g></svg>', | ||
bookmark: '<svg viewBox="0 0 24 24"><path d="M17,3H7A2,2 0 0,0 5,5V21L12,18L19,21V5C19,3.89 18.1,3 17,3Z" /></svg>', | ||
bookmark_anchor: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17,18L12,15.82L7,18V5H17M17,3H7A2,2 0 0,0 5,5V21L12,18L19,21V5C19,3.89 18.1,3 17,3Z" /></svg>', | ||
download: '<svg viewBox="0 0 24 24"><path d="M2 12H4V17H20V12H22V17C22 18.11 21.11 19 20 19H4C2.9 19 2 18.11 2 17V12M12 15L17.55 9.54L16.13 8.13L13 11.25V2H11V11.25L7.88 8.13L6.46 9.55L12 15Z" /></svg>', | ||
dir_ltr: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M9 4v4c-1.1 0-2-.9-2-2s.9-2 2-2m8-2H9C6.79 2 5 3.79 5 6s1.79 4 4 4v5h2V4h2v11h2V4h2V2zm0 12v3H5v2h12v3l4-4-4-4z"/></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M9 4v4c-1.1 0-2-.9-2-2s.9-2 2-2m8-2H9C6.79 2 5 3.79 5 6s1.79 4 4 4v5h2V4h2v11h2V4h2V2zm0 12v3H5v2h12v3l4-4-4-4z"/></svg>', | ||
dir_rtl: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M10 4v4c-1.1 0-2-.9-2-2s.9-2 2-2m8-2h-8C7.79 2 6 3.79 6 6s1.79 4 4 4v5h2V4h2v11h2V4h2V2zM8 14l-4 4 4 4v-3h12v-2H8v-3z"/></svg>', | ||
file_upload: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,12L16,16H13.5V19H10.5V16H8L12,12Z" /></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M10 4v4c-1.1 0-2-.9-2-2s.9-2 2-2m8-2h-8C7.79 2 6 3.79 6 6s1.79 4 4 4v5h2V4h2v11h2V4h2V2zM8 14l-4 4 4 4v-3h12v-2H8v-3z"/></svg>', | ||
file_upload: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,12L16,16H13.5V19H10.5V16H8L12,12Z" /></svg>', | ||
file_plus: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13.81 22H6C4.89 22 4 21.11 4 20V4C4 2.9 4.89 2 6 2H14L20 8V13.09C19.67 13.04 19.34 13 19 13S18.33 13.04 18 13.09V9H13V4H6V20H13.09C13.21 20.72 13.46 21.39 13.81 22M23 18H20V15H18V18H15V20H18V23H20V20H23V18Z" /></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13.81 22H6C4.89 22 4 21.11 4 20V4C4 2.9 4.89 2 6 2H14L20 8V13.09C19.67 13.04 19.34 13 19 13S18.33 13.04 18 13.09V9H13V4H6V20H13.09C13.21 20.72 13.46 21.39 13.81 22M23 18H20V15H18V18H15V20H18V23H20V20H23V18Z" /></svg>', | ||
upload_tray: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2 12H4V17H20V12H22V17C22 18.11 21.11 19 20 19H4C2.9 19 2 18.11 2 17V12M12 2L6.46 7.46L7.88 8.88L11 5.75V15H13V5.75L16.13 8.88L17.55 7.45L12 2Z" /></svg>', | ||
folder: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20,18H4V8H20M20,6H12L10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6Z" /></svg>', | ||
plus: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z" /></svg>', | ||
minus: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,13H5V11H19V13Z" /></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2 12H4V17H20V12H22V17C22 18.11 21.11 19 20 19H4C2.9 19 2 18.11 2 17V12M12 2L6.46 7.46L7.88 8.88L11 5.75V15H13V5.75L16.13 8.88L17.55 7.45L12 2Z" /></svg>', | ||
folder: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20,18H4V8H20M20,6H12L10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6Z" /></svg>', | ||
plus: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z" /></svg>', | ||
minus: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,13H5V11H19V13Z" /></svg>', | ||
selection: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2,4C2,2.89 2.9,2 4,2H7V4H4V7H2V4M22,4V7H20V4H17V2H20A2,2 0 0,1 22,4M20,20V17H22V20C22,21.11 21.1,22 20,22H17V20H20M2,20V17H4V20H7V22H4A2,2 0 0,1 2,20M10,2H14V4H10V2M10,20H14V22H10V20M20,10H22V14H20V10M2,10H4V14H2V10Z" /></svg>', | ||
copy: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z" /></svg>', | ||
cut: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,3L13,9L15,11L22,4V3M12,12.5A0.5,0.5 0 0,1 11.5,12A0.5,0.5 0 0,1 12,11.5A0.5,0.5 0 0,1 12.5,12A0.5,0.5 0 0,1 12,12.5M6,20A2,2 0 0,1 4,18C4,16.89 4.9,16 6,16A2,2 0 0,1 8,18C8,19.11 7.1,20 6,20M6,8A2,2 0 0,1 4,6C4,4.89 4.9,4 6,4A2,2 0 0,1 8,6C8,7.11 7.1,8 6,8M9.64,7.64C9.87,7.14 10,6.59 10,6A4,4 0 0,0 6,2A4,4 0 0,0 2,6A4,4 0 0,0 6,10C6.59,10 7.14,9.87 7.64,9.64L10,12L7.64,14.36C7.14,14.13 6.59,14 6,14A4,4 0 0,0 2,18A4,4 0 0,0 6,22A4,4 0 0,0 10,18C10,17.41 9.87,16.86 9.64,16.36L12,14L19,21H22V20L9.64,7.64Z" /></svg>', | ||
pdf: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M9.5 11.5C9.5 12.3 8.8 13 8 13H7V15H5.5V9H8C8.8 9 9.5 9.7 9.5 10.5V11.5M14.5 13.5C14.5 14.3 13.8 15 13 15H10.5V9H13C13.8 9 14.5 9.7 14.5 10.5V13.5M18.5 10.5H17V11.5H18.5V13H17V15H15.5V9H18.5V10.5M12 10.5H13V13.5H12V10.5M7 10.5H8V11.5H7V10.5Z" /></svg>', | ||
format_paint: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18,4V3A1,1 0 0,0 17,2H5A1,1 0 0,0 4,3V7A1,1 0 0,0 5,8H17A1,1 0 0,0 18,7V6H19V10H9V21A1,1 0 0,0 10,22H12A1,1 0 0,0 13,21V12H21V4H18Z" /></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2,4C2,2.89 2.9,2 4,2H7V4H4V7H2V4M22,4V7H20V4H17V2H20A2,2 0 0,1 22,4M20,20V17H22V20C22,21.11 21.1,22 20,22H17V20H20M2,20V17H4V20H7V22H4A2,2 0 0,1 2,20M10,2H14V4H10V2M10,20H14V22H10V20M20,10H22V14H20V10M2,10H4V14H2V10Z" /></svg>', | ||
copy: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z" /></svg>', | ||
cut: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,3L13,9L15,11L22,4V3M12,12.5A0.5,0.5 0 0,1 11.5,12A0.5,0.5 0 0,1 12,11.5A0.5,0.5 0 0,1 12.5,12A0.5,0.5 0 0,1 12,12.5M6,20A2,2 0 0,1 4,18C4,16.89 4.9,16 6,16A2,2 0 0,1 8,18C8,19.11 7.1,20 6,20M6,8A2,2 0 0,1 4,6C4,4.89 4.9,4 6,4A2,2 0 0,1 8,6C8,7.11 7.1,8 6,8M9.64,7.64C9.87,7.14 10,6.59 10,6A4,4 0 0,0 6,2A4,4 0 0,0 2,6A4,4 0 0,0 6,10C6.59,10 7.14,9.87 7.64,9.64L10,12L7.64,14.36C7.14,14.13 6.59,14 6,14A4,4 0 0,0 2,18A4,4 0 0,0 6,22A4,4 0 0,0 10,18C10,17.41 9.87,16.86 9.64,16.36L12,14L19,21H22V20L9.64,7.64Z" /></svg>', | ||
pdf: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M9.5 11.5C9.5 12.3 8.8 13 8 13H7V15H5.5V9H8C8.8 9 9.5 9.7 9.5 10.5V11.5M14.5 13.5C14.5 14.3 13.8 15 13 15H10.5V9H13C13.8 9 14.5 9.7 14.5 10.5V13.5M18.5 10.5H17V11.5H18.5V13H17V15H15.5V9H18.5V10.5M12 10.5H13V13.5H12V10.5M7 10.5H8V11.5H7V10.5Z" /></svg>', | ||
format_paint: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18,4V3A1,1 0 0,0 17,2H5A1,1 0 0,0 4,3V7A1,1 0 0,0 5,8H17A1,1 0 0,0 18,7V6H19V10H9V21A1,1 0 0,0 10,22H12A1,1 0 0,0 13,21V12H21V4H18Z" /></svg>', | ||
find_replace: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11,6C12.38,6 13.63,6.56 14.54,7.46L12,10H18V4L15.95,6.05C14.68,4.78 12.93,4 11,4C7.47,4 4.57,6.61 4.08,10H6.1C6.56,7.72 8.58,6 11,6M16.64,15.14C17.3,14.24 17.76,13.17 17.92,12H15.9C15.44,14.28 13.42,16 11,16C9.62,16 8.37,15.44 7.46,14.54L10,12H4V18L6.05,15.95C7.32,17.22 9.07,18 11,18C12.55,18 14,17.5 15.14,16.64L20,21.5L21.5,20L16.64,15.14Z" /></svg>', | ||
// Error | ||
alert_outline: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z" /></svg>', | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z" /></svg>', | ||
// More icons | ||
more_text: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="10 10 180 180"><g><path d="M49.711,142.188h49.027c2.328,0.002,4.394,1.492,5.129,3.699l9.742,29.252c0.363,1.092,1.385,1.828,2.537,1.83l15.883,0.01c0.859,0,1.667-0.412,2.17-1.109s0.641-1.594,0.37-2.41l-16.625-50.045L86.503,28.953c-0.36-1.097-1.383-1.839-2.537-1.842H64.532c-1.153-0.001-2.178,0.736-2.542,1.831L13.847,173.457c-0.271,0.816-0.135,1.713,0.369,2.412c0.503,0.697,1.311,1.109,2.171,1.109h15.872c1.151,0,2.173-0.736,2.537-1.828l9.793-29.287C45.325,143.66,47.39,142.18,49.711,142.188L49.711,142.188z M53.493,119.098l15.607-46.9c0.744-2.196,2.806-3.674,5.125-3.674s4.381,1.478,5.125,3.674l15.607,46.904c0.537,1.621,0.263,3.402-0.736,4.789c-1.018,1.408-2.649,2.24-4.386,2.24H58.615c-1.736,0-3.368-0.832-4.386-2.24C53.23,122.504,52.956,120.721,53.493,119.098L53.493,119.098z M190.465,63.32c0-2.919-1.015-5.396-3.059-7.428c-2.029-2.031-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.016-7.388,3.047c-2.029,2.032-3.056,4.498-3.056,7.386c0,2.889,1.026,5.354,3.056,7.385c2.032,2.032,4.499,3.059,7.388,3.059c2.887,0,5.354-1.026,7.383-3.059C189.45,68.633,190.465,66.178,190.465,63.32L190.465,63.32z M190.465,101.994c0-2.858-1.015-5.313-3.059-7.333c-2.029-2.042-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.005-7.388,3.047c-2.029,2.021-3.056,4.486-3.056,7.376c0,2.887,1.026,5.352,3.056,7.395c2.032,2.021,4.499,3.047,7.388,3.047c2.887,0,5.354-1.025,7.383-3.047C189.45,107.389,190.465,104.914,190.465,101.994L190.465,101.994z M190.465,140.76c0-2.918-1.015-5.395-3.059-7.438c-2.029-2.041-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.006-7.388,3.047c-2.029,2.043-3.056,4.52-3.056,7.438c0,2.922,1.026,5.398,3.056,7.439c2.032,2.021,4.499,3.047,7.388,3.047c2.887,0,5.354-1.025,7.383-3.047C189.45,146.158,190.465,143.682,190.465,140.76L190.465,140.76z"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="10 10 180 180"><g><path d="M49.711,142.188h49.027c2.328,0.002,4.394,1.492,5.129,3.699l9.742,29.252c0.363,1.092,1.385,1.828,2.537,1.83l15.883,0.01c0.859,0,1.667-0.412,2.17-1.109s0.641-1.594,0.37-2.41l-16.625-50.045L86.503,28.953c-0.36-1.097-1.383-1.839-2.537-1.842H64.532c-1.153-0.001-2.178,0.736-2.542,1.831L13.847,173.457c-0.271,0.816-0.135,1.713,0.369,2.412c0.503,0.697,1.311,1.109,2.171,1.109h15.872c1.151,0,2.173-0.736,2.537-1.828l9.793-29.287C45.325,143.66,47.39,142.18,49.711,142.188L49.711,142.188z M53.493,119.098l15.607-46.9c0.744-2.196,2.806-3.674,5.125-3.674s4.381,1.478,5.125,3.674l15.607,46.904c0.537,1.621,0.263,3.402-0.736,4.789c-1.018,1.408-2.649,2.24-4.386,2.24H58.615c-1.736,0-3.368-0.832-4.386-2.24C53.23,122.504,52.956,120.721,53.493,119.098L53.493,119.098z M190.465,63.32c0-2.919-1.015-5.396-3.059-7.428c-2.029-2.031-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.016-7.388,3.047c-2.029,2.032-3.056,4.498-3.056,7.386c0,2.889,1.026,5.354,3.056,7.385c2.032,2.032,4.499,3.059,7.388,3.059c2.887,0,5.354-1.026,7.383-3.059C189.45,68.633,190.465,66.178,190.465,63.32L190.465,63.32z M190.465,101.994c0-2.858-1.015-5.313-3.059-7.333c-2.029-2.042-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.005-7.388,3.047c-2.029,2.021-3.056,4.486-3.056,7.376c0,2.887,1.026,5.352,3.056,7.395c2.032,2.021,4.499,3.047,7.388,3.047c2.887,0,5.354-1.025,7.383-3.047C189.45,107.389,190.465,104.914,190.465,101.994L190.465,101.994z M190.465,140.76c0-2.918-1.015-5.395-3.059-7.438c-2.029-2.041-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.006-7.388,3.047c-2.029,2.043-3.056,4.52-3.056,7.438c0,2.922,1.026,5.398,3.056,7.439c2.032,2.021,4.499,3.047,7.388,3.047c2.887,0,5.354-1.025,7.383-3.047C189.45,146.158,190.465,143.682,190.465,140.76L190.465,140.76z"/></g></svg>', | ||
more_paragraph: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="10 10 180 180"><g><path d="M128.39,28.499H63.493c-25.558,0-46.354,20.796-46.354,46.354c0,25.559,20.796,46.353,46.354,46.353h9.271v55.625h18.542V47.04h9.271V176.83h18.543V47.04h9.271V28.499z M72.764,102.664h-9.271c-15.337,0-27.813-12.475-27.813-27.812c0-15.336,12.476-27.813,27.813-27.813h9.271V102.664z M190.465,63.32c0-2.919-1.015-5.396-3.059-7.428c-2.029-2.031-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.016-7.388,3.047c-2.029,2.032-3.056,4.498-3.056,7.386c0,2.889,1.026,5.354,3.056,7.385c2.032,2.032,4.499,3.059,7.388,3.059c2.887,0,5.354-1.026,7.383-3.059C189.45,68.633,190.465,66.178,190.465,63.32L190.465,63.32z M190.465,101.994c0-2.858-1.015-5.313-3.059-7.333c-2.029-2.042-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.005-7.388,3.047c-2.029,2.021-3.056,4.486-3.056,7.376c0,2.887,1.026,5.352,3.056,7.395c2.032,2.021,4.499,3.047,7.388,3.047c2.887,0,5.354-1.025,7.383-3.047C189.45,107.389,190.465,104.914,190.465,101.994L190.465,101.994z M190.465,140.76c0-2.918-1.015-5.395-3.059-7.438c-2.029-2.041-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.006-7.388,3.047c-2.029,2.043-3.056,4.52-3.056,7.438c0,2.922,1.026,5.398,3.056,7.439c2.032,2.021,4.499,3.047,7.388,3.047c2.887,0,5.354-1.025,7.383-3.047C189.45,146.158,190.465,143.682,190.465,140.76L190.465,140.76z"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="10 10 180 180"><g><path d="M128.39,28.499H63.493c-25.558,0-46.354,20.796-46.354,46.354c0,25.559,20.796,46.353,46.354,46.353h9.271v55.625h18.542V47.04h9.271V176.83h18.543V47.04h9.271V28.499z M72.764,102.664h-9.271c-15.337,0-27.813-12.475-27.813-27.812c0-15.336,12.476-27.813,27.813-27.813h9.271V102.664z M190.465,63.32c0-2.919-1.015-5.396-3.059-7.428c-2.029-2.031-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.016-7.388,3.047c-2.029,2.032-3.056,4.498-3.056,7.386c0,2.889,1.026,5.354,3.056,7.385c2.032,2.032,4.499,3.059,7.388,3.059c2.887,0,5.354-1.026,7.383-3.059C189.45,68.633,190.465,66.178,190.465,63.32L190.465,63.32z M190.465,101.994c0-2.858-1.015-5.313-3.059-7.333c-2.029-2.042-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.005-7.388,3.047c-2.029,2.021-3.056,4.486-3.056,7.376c0,2.887,1.026,5.352,3.056,7.395c2.032,2.021,4.499,3.047,7.388,3.047c2.887,0,5.354-1.025,7.383-3.047C189.45,107.389,190.465,104.914,190.465,101.994L190.465,101.994z M190.465,140.76c0-2.918-1.015-5.395-3.059-7.438c-2.029-2.041-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.006-7.388,3.047c-2.029,2.043-3.056,4.52-3.056,7.438c0,2.922,1.026,5.398,3.056,7.439c2.032,2.021,4.499,3.047,7.388,3.047c2.887,0,5.354-1.025,7.383-3.047C189.45,146.158,190.465,143.682,190.465,140.76L190.465,140.76z"/></g></svg>', | ||
more_plus: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="35 30 140 140"><g><path d="M137.215,102.045c0,3.498-2.835,6.332-6.333,6.332H24.549c-3.498,0-6.334-2.834-6.334-6.332l0,0c0-3.498,2.836-6.333,6.334-6.333h106.333C134.38,95.711,137.215,98.547,137.215,102.045L137.215,102.045z M77.715,161.545c-3.498,0-6.333-2.836-6.333-6.334V48.878c0-3.498,2.836-6.333,6.333-6.333l0,0c3.498,0,6.334,2.835,6.334,6.333v106.333C84.049,158.709,81.213,161.545,77.715,161.545L77.715,161.545z M190.465,63.32c0-2.919-1.015-5.396-3.059-7.428c-2.029-2.031-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.016-7.388,3.047c-2.029,2.032-3.056,4.498-3.056,7.386c0,2.889,1.026,5.354,3.056,7.385c2.032,2.032,4.499,3.059,7.388,3.059c2.887,0,5.354-1.026,7.383-3.059C189.45,68.632,190.465,66.177,190.465,63.32L190.465,63.32z M190.465,101.993c0-2.858-1.015-5.313-3.059-7.333c-2.029-2.042-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.005-7.388,3.047c-2.029,2.021-3.056,4.486-3.056,7.376c0,2.888,1.026,5.353,3.056,7.396c2.032,2.021,4.499,3.047,7.388,3.047c2.887,0,5.354-1.025,7.383-3.047C189.45,107.389,190.465,104.914,190.465,101.993L190.465,101.993z M190.465,140.76c0-2.918-1.015-5.395-3.059-7.438c-2.029-2.041-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.006-7.388,3.047c-2.029,2.043-3.056,4.52-3.056,7.438c0,2.922,1.026,5.398,3.056,7.439c2.032,2.021,4.499,3.047,7.388,3.047c2.887,0,5.354-1.025,7.383-3.047C189.45,146.158,190.465,143.682,190.465,140.76L190.465,140.76z"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="35 30 140 140"><g><path d="M137.215,102.045c0,3.498-2.835,6.332-6.333,6.332H24.549c-3.498,0-6.334-2.834-6.334-6.332l0,0c0-3.498,2.836-6.333,6.334-6.333h106.333C134.38,95.711,137.215,98.547,137.215,102.045L137.215,102.045z M77.715,161.545c-3.498,0-6.333-2.836-6.333-6.334V48.878c0-3.498,2.836-6.333,6.333-6.333l0,0c3.498,0,6.334,2.835,6.334,6.333v106.333C84.049,158.709,81.213,161.545,77.715,161.545L77.715,161.545z M190.465,63.32c0-2.919-1.015-5.396-3.059-7.428c-2.029-2.031-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.016-7.388,3.047c-2.029,2.032-3.056,4.498-3.056,7.386c0,2.889,1.026,5.354,3.056,7.385c2.032,2.032,4.499,3.059,7.388,3.059c2.887,0,5.354-1.026,7.383-3.059C189.45,68.632,190.465,66.177,190.465,63.32L190.465,63.32z M190.465,101.993c0-2.858-1.015-5.313-3.059-7.333c-2.029-2.042-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.005-7.388,3.047c-2.029,2.021-3.056,4.486-3.056,7.376c0,2.888,1.026,5.353,3.056,7.396c2.032,2.021,4.499,3.047,7.388,3.047c2.887,0,5.354-1.025,7.383-3.047C189.45,107.389,190.465,104.914,190.465,101.993L190.465,101.993z M190.465,140.76c0-2.918-1.015-5.395-3.059-7.438c-2.029-2.041-4.496-3.047-7.383-3.047c-2.889,0-5.355,1.006-7.388,3.047c-2.029,2.043-3.056,4.52-3.056,7.438c0,2.922,1.026,5.398,3.056,7.439c2.032,2.021,4.499,3.047,7.388,3.047c2.887,0,5.354-1.025,7.383-3.047C189.45,146.158,190.465,143.682,190.465,140.76L190.465,140.76z"/></g></svg>', | ||
more_horizontal: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.76 3.58"><g><path d="M4.64,10.73a1.84,1.84,0,0,1,.65-.65,1.76,1.76,0,0,1,1.79,0A1.79,1.79,0,0,1,8,11.63a1.84,1.84,0,0,1-.25.9,1.69,1.69,0,0,1-.65.65,1.8,1.8,0,0,1-2.69-1.55A2.08,2.08,0,0,1,4.64,10.73Zm6.09,0a1.84,1.84,0,0,1,.65-.65,1.78,1.78,0,0,1,2.67,1.55,1.73,1.73,0,0,1-.24.9,1.84,1.84,0,0,1-.65.65,1.76,1.76,0,0,1-1.79,0,1.79,1.79,0,0,1-.64-2.44Zm6.08,0a1.69,1.69,0,0,1,.65-.65,1.76,1.76,0,0,1,1.79,0,1.79,1.79,0,0,1,.9,1.54,1.73,1.73,0,0,1-.24.9,1.84,1.84,0,0,1-.65.65,1.8,1.8,0,0,1-2.69-1.55A2,2,0,0,1,16.81,10.73Z" transform="translate(-4.39 -9.84)"/></g></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.76 3.58"><g><path d="M4.64,10.73a1.84,1.84,0,0,1,.65-.65,1.76,1.76,0,0,1,1.79,0A1.79,1.79,0,0,1,8,11.63a1.84,1.84,0,0,1-.25.9,1.69,1.69,0,0,1-.65.65,1.8,1.8,0,0,1-2.69-1.55A2.08,2.08,0,0,1,4.64,10.73Zm6.09,0a1.84,1.84,0,0,1,.65-.65,1.78,1.78,0,0,1,2.67,1.55,1.73,1.73,0,0,1-.24.9,1.84,1.84,0,0,1-.65.65,1.76,1.76,0,0,1-1.79,0,1.79,1.79,0,0,1-.64-2.44Zm6.08,0a1.69,1.69,0,0,1,.65-.65,1.76,1.76,0,0,1,1.79,0,1.79,1.79,0,0,1,.9,1.54,1.73,1.73,0,0,1-.24.9,1.84,1.84,0,0,1-.65.65,1.8,1.8,0,0,1-2.69-1.55A2,2,0,0,1,16.81,10.73Z" transform="translate(-4.39 -9.84)"/></g></svg>', | ||
more_vertical: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 3.94 15.75"><g><path d="M12.28,7.69a1.92,1.92,0,0,1-1.39-.58,2,2,0,0,1-.58-1.39,1.92,1.92,0,0,1,.58-1.39,2,2,0,0,1,1.39-.58,1.92,1.92,0,0,1,1.39.58,2,2,0,0,1,.58,1.39,1.92,1.92,0,0,1-.58,1.39,2,2,0,0,1-1.39.58Zm0,2a1.92,1.92,0,0,1,1.39.58,2,2,0,0,1,.58,1.39A1.92,1.92,0,0,1,13.67,13a2,2,0,0,1-1.39.58A1.92,1.92,0,0,1,10.89,13a2,2,0,0,1-.58-1.39,2,2,0,0,1,2-2Zm0,5.9a1.92,1.92,0,0,1,1.39.58,2,2,0,0,1,.58,1.39,1.92,1.92,0,0,1-.58,1.39,2,2,0,0,1-1.39.58,1.92,1.92,0,0,1-1.39-.58,2,2,0,0,1-.58-1.39,1.92,1.92,0,0,1,.58-1.39,1.94,1.94,0,0,1,1.39-.58Z" transform="translate(-10.31 -3.75)"/></g></svg>', | ||
component_inline: '<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8,7L13,17H3L8,7M3,3H21V5H3V3M21,15V17H14V15H21M3,19H21V21H3V19Z" /></svg>', | ||
component_outline: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 18H2V20H21V18M19 10V14H4V10H19M20 8H3C2.45 8 2 8.45 2 9V15C2 15.55 2.45 16 3 16H20C20.55 16 21 15.55 21 15V9C21 8.45 20.55 8 20 8M21 4H2V6H21V4Z" /></svg>', | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 3.94 15.75"><g><path d="M12.28,7.69a1.92,1.92,0,0,1-1.39-.58,2,2,0,0,1-.58-1.39,1.92,1.92,0,0,1,.58-1.39,2,2,0,0,1,1.39-.58,1.92,1.92,0,0,1,1.39.58,2,2,0,0,1,.58,1.39,1.92,1.92,0,0,1-.58,1.39,2,2,0,0,1-1.39.58Zm0,2a1.92,1.92,0,0,1,1.39.58,2,2,0,0,1,.58,1.39A1.92,1.92,0,0,1,13.67,13a2,2,0,0,1-1.39.58A1.92,1.92,0,0,1,10.89,13a2,2,0,0,1-.58-1.39,2,2,0,0,1,2-2Zm0,5.9a1.92,1.92,0,0,1,1.39.58,2,2,0,0,1,.58,1.39,1.92,1.92,0,0,1-.58,1.39,2,2,0,0,1-1.39.58,1.92,1.92,0,0,1-1.39-.58,2,2,0,0,1-.58-1.39,1.92,1.92,0,0,1,.58-1.39,1.94,1.94,0,0,1,1.39-.58Z" transform="translate(-10.31 -3.75)"/></g></svg>', | ||
// as format | ||
as_inline: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8,7L13,17H3L8,7M3,3H21V5H3V3M21,15V17H14V15H21M3,19H21V21H3V19Z" /></svg>', | ||
as_block: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 18H2V20H21V18M19 10V14H4V10H19M20 8H3C2.45 8 2 8.45 2 9V15C2 15.55 2.45 16 3 16H20C20.55 16 21 15.55 21 15V9C21 8.45 20.55 8 20 8M21 4H2V6H21V4Z" /></svg>', | ||
// document type | ||
page_down: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11,4H13V16L18.5,10.5L19.92,11.92L12,19.84L4.08,11.92L5.5,10.5L11,16V4Z" /></svg>', | ||
page_up: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z" /></svg>', | ||
collapse_left: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.92,19.92L4,12L11.92,4.08L13.33,5.5L7.83,11H22V13H7.83L13.34,18.5L11.92,19.92M4,12V2H2V22H4V12Z" /></svg>', | ||
collapse_right: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.08,4.08L20,12L12.08,19.92L10.67,18.5L16.17,13H2V11H16.17L10.67,5.5L12.08,4.08M20,12V22H22V2H20V12Z" /></svg>', | ||
// Not used | ||
erase: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 13.76"><g><path d="M13.69,17.2h6.46v1.31H8.56L4.41,14.37,14,4.75l6.06,6.06L16.89,14l-3.2,3.19Zm-4.61,0h2.77L14.09,15,9.88,10.75,6.25,14.38l1.41,1.41c.84.82,1.31,1.29,1.42,1.41Z" transform="translate(-4.41 -4.75)"/></g></svg>', | ||
map: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11.7 15.62"><g><path d="M12.05,12.42a2.93,2.93,0,1,1,2.07-5A2.88,2.88,0,0,1,15,9.49a3,3,0,0,1-.86,2.07,2.89,2.89,0,0,1-2.07.86Zm0-5.36a2.43,2.43,0,0,0-1.72,4.16,2.48,2.48,0,0,0,1.72.72,2.44,2.44,0,0,0,0-4.88Zm0-3.3A5.84,5.84,0,0,1,17.9,9.62a9.94,9.94,0,0,1-1.73,5A33.59,33.59,0,0,1,12.84,19a1.52,1.52,0,0,1-.23.2,1,1,0,0,1-.55.2h0a1,1,0,0,1-.55-.2,1.52,1.52,0,0,1-.23-.2,33.59,33.59,0,0,1-3.33-4.32,9.93,9.93,0,0,1-1.72-5,5.84,5.84,0,0,1,5.85-5.86ZM12,18.34l.08.05.06-.06a35.58,35.58,0,0,0,3.06-3.93,9.35,9.35,0,0,0,1.74-4.77,4.88,4.88,0,0,0-4.88-4.88A4.79,4.79,0,0,0,8.6,6.17,4.84,4.84,0,0,0,7.17,9.62,9.29,9.29,0,0,0,8.91,14.4,36,36,0,0,0,12,18.34Z" transform="translate(-6.2 -3.76)"/></g></svg>', | ||
erase: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.74 13.76"><g><path d="M13.69,17.2h6.46v1.31H8.56L4.41,14.37,14,4.75l6.06,6.06L16.89,14l-3.2,3.19Zm-4.61,0h2.77L14.09,15,9.88,10.75,6.25,14.38l1.41,1.41c.84.82,1.31,1.29,1.42,1.41Z" transform="translate(-4.41 -4.75)"/></g></svg>', | ||
map: '<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11.7 15.62"><g><path d="M12.05,12.42a2.93,2.93,0,1,1,2.07-5A2.88,2.88,0,0,1,15,9.49a3,3,0,0,1-.86,2.07,2.89,2.89,0,0,1-2.07.86Zm0-5.36a2.43,2.43,0,0,0-1.72,4.16,2.48,2.48,0,0,0,1.72.72,2.44,2.44,0,0,0,0-4.88Zm0-3.3A5.84,5.84,0,0,1,17.9,9.62a9.94,9.94,0,0,1-1.73,5A33.59,33.59,0,0,1,12.84,19a1.52,1.52,0,0,1-.23.2,1,1,0,0,1-.55.2h0a1,1,0,0,1-.55-.2,1.52,1.52,0,0,1-.23-.2,33.59,33.59,0,0,1-3.33-4.32,9.93,9.93,0,0,1-1.72-5,5.84,5.84,0,0,1,5.85-5.86ZM12,18.34l.08.05.06-.06a35.58,35.58,0,0,0,3.06-3.93,9.35,9.35,0,0,0,1.74-4.77,4.88,4.88,0,0,0-4.88-4.88A4.79,4.79,0,0,0,8.6,6.17,4.84,4.84,0,0,0,7.17,9.62,9.29,9.29,0,0,0,8.91,14.4,36,36,0,0,0,12,18.34Z" transform="translate(-6.2 -3.76)"/></g></svg>', | ||
magic_stick: | ||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.73 15.75"><g><path d="M19.86,19.21a1,1,0,0,0,.28-.68,1,1,0,0,0-.28-.7L13,10.93a1,1,0,0,0-.7-.28,1,1,0,0,0-.68,1.65l6.9,6.9a1,1,0,0,0,.69.29.93.93,0,0,0,.69-.28ZM9.19,8.55a3,3,0,0,0,1.68,0,14.12,14.12,0,0,0,1.41-.32A11.26,11.26,0,0,0,10.8,7.06c-.56-.36-.86-.56-.91-.58S10,5.91,10,5.11s0-1.26-.15-1.37a4.35,4.35,0,0,0-1.19.71c-.53.4-.81.62-.87.68a9,9,0,0,0-2-.6,6.84,6.84,0,0,0-.76-.09s0,.27.08.77a8.6,8.6,0,0,0,.61,2q-.09.09-.69.87a3.59,3.59,0,0,0-.68,1.17c.12.17.57.23,1.36.15S7,9.26,7.15,9.23s.21.36.57.91a10.49,10.49,0,0,0,1.14,1.48c0-.1.14-.57.31-1.4a3,3,0,0,0,0-1.67Z" transform="translate(-4.41 -3.74)"/></g></svg>', | ||
open_in_new: | ||
'<svg class="se-mdi" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z" /></svg>' | ||
'<svg class="se-ci" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.73 15.75"><g><path d="M19.86,19.21a1,1,0,0,0,.28-.68,1,1,0,0,0-.28-.7L13,10.93a1,1,0,0,0-.7-.28,1,1,0,0,0-.68,1.65l6.9,6.9a1,1,0,0,0,.69.29.93.93,0,0,0,.69-.28ZM9.19,8.55a3,3,0,0,0,1.68,0,14.12,14.12,0,0,0,1.41-.32A11.26,11.26,0,0,0,10.8,7.06c-.56-.36-.86-.56-.91-.58S10,5.91,10,5.11s0-1.26-.15-1.37a4.35,4.35,0,0,0-1.19.71c-.53.4-.81.62-.87.68a9,9,0,0,0-2-.6,6.84,6.84,0,0,0-.76-.09s0,.27.08.77a8.6,8.6,0,0,0,.61,2q-.09.09-.69.87a3.59,3.59,0,0,0-.68,1.17c.12.17.57.23,1.36.15S7,9.26,7.15,9.23s.21.36.57.91a10.49,10.49,0,0,0,1.14,1.48c0-.1.14-.57.31-1.4a3,3,0,0,0,0-1.67Z" transform="translate(-4.41 -3.74)"/></g></svg>', | ||
open_in_new: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z" /></svg>' | ||
}; |
@@ -9,5 +9,44 @@ import { domUtils, env, unicode } from '../../../helper'; | ||
const HISTORY_IGNORE_KEYCODE = /^(1[6-9]|20|27|3[3-9]|40|45|11[2-9]|12[0-3]|144|145|229)$/; | ||
const DOCUMENT_TYPE_OBSERVER_KEYCODE = /^(13)$/; | ||
const FRONT_ZEROWIDTH = new RegExp(unicode.zeroWidthSpace + '+', ''); | ||
let _styleNodes = null; | ||
function LineDelete_next(formatEl) { | ||
const focusNode = formatEl.lastChild; | ||
const next = formatEl.nextElementSibling; | ||
if (domUtils.isZeroWith(next)) { | ||
domUtils.removeItem(next); | ||
return focusNode; | ||
} | ||
const nextChild = next.childNodes; | ||
while (nextChild[0]) { | ||
formatEl.appendChild(nextChild[0]); | ||
} | ||
domUtils.removeItem(next); | ||
return focusNode; | ||
} | ||
function LineDelete_prev(formatEl) { | ||
const formatChild = formatEl.childNodes; | ||
const prev = formatEl.previousElementSibling; | ||
const focusNode = formatChild[0]; | ||
if (domUtils.isZeroWith(prev)) { | ||
domUtils.removeItem(prev); | ||
return focusNode; | ||
} | ||
while (formatChild[0]) { | ||
prev.appendChild(formatChild[0]); | ||
} | ||
domUtils.removeItem(formatEl); | ||
return focusNode; | ||
} | ||
export function OnInput_wysiwyg(frameContext, e) { | ||
@@ -101,2 +140,28 @@ if (frameContext.get('isReadOnly') || frameContext.get('isDisabled')) { | ||
// line delete | ||
if (this.format.isLine(formatEl) && (!range.collapsed || domUtils.isEdgePoint(range.endContainer, range.endOffset, 'front')) && !range.endContainer.previousSibling && this.format.isLine(formatEl.previousElementSibling)) { | ||
e.preventDefault(); | ||
e.stopPropagation(); | ||
let focusNode; | ||
if (!range.collapsed) { | ||
this.html.remove(); | ||
if (formatEl.contains(range.startContainer)) { | ||
focusNode = LineDelete_next(formatEl); | ||
this.selection.setRange(focusNode, focusNode.textContent.length, focusNode, focusNode.textContent.length); | ||
} else { | ||
focusNode = LineDelete_prev(formatEl); | ||
this.selection.setRange(focusNode, 0, focusNode, 0); | ||
} | ||
this.history.push(true); | ||
return; | ||
} | ||
focusNode = LineDelete_prev(formatEl); | ||
this.selection.setRange(focusNode, 0, focusNode, 0); | ||
this.history.push(true); | ||
return; | ||
} | ||
if ( | ||
@@ -314,2 +379,27 @@ !selectRange && | ||
// line delete | ||
if (this.format.isLine(formatEl) && (!range.collapsed || domUtils.isEdgePoint(range.startContainer, range.endOffset, 'end')) && !range.startContainer.nextSibling && this.format.isLine(formatEl.nextElementSibling)) { | ||
e.preventDefault(); | ||
e.stopPropagation(); | ||
let focusNode; | ||
if (!range.collapsed) { | ||
this.html.remove(); | ||
if (formatEl.contains(range.startContainer)) { | ||
focusNode = LineDelete_next(formatEl); | ||
this.selection.setRange(focusNode, focusNode.textContent.length, focusNode, focusNode.textContent.length); | ||
} else { | ||
focusNode = LineDelete_prev(formatEl); | ||
this.selection.setRange(focusNode, 0, focusNode, 0); | ||
} | ||
this.history.push(true); | ||
return; | ||
} | ||
LineDelete_next(formatEl); | ||
this.history.push(true); | ||
return; | ||
} | ||
// line component | ||
@@ -872,5 +962,11 @@ if (!selectRange && formatEl && (range.endOffset === range.endContainer.textContent.length || selectionNode === formatEl)) { | ||
// document type | ||
if (frameContext.has('documentType-use-header') && !range.collapsed && !ctrl && !alt && !shift && !DIR_KEYCODE.test(keyCode)) { | ||
_w.setTimeout(() => { | ||
frameContext.get('documentType').reHeader(); | ||
}); | ||
return; | ||
} | ||
// next component | ||
if (!DIR_KEYCODE.test(keyCode)) return; | ||
let cmponentInfo = null; | ||
@@ -885,3 +981,3 @@ switch (keyCode) { | ||
if (domUtils.isEdgePoint(selectionNode, range.startOffset, 'front')) { | ||
const prevEl = selectionNode.previousElementSibling; | ||
const prevEl = selectionNode.previousElementSibling || domUtils.getPreviousDeepestNode(selectionNode); | ||
if (prevEl && this.component.is(prevEl)) { | ||
@@ -901,3 +997,3 @@ cmponentInfo = this.component.get(prevEl); | ||
if (domUtils.isEdgePoint(selectionNode, range.endOffset, 'end')) { | ||
const nextEl = selectionNode.nextElementSibling; | ||
const nextEl = selectionNode.nextElementSibling || domUtils.getNextDeepestNode(selectionNode); | ||
if (nextEl && this.component.is(nextEl)) { | ||
@@ -953,2 +1049,3 @@ cmponentInfo = this.component.get(nextEl); | ||
this.history.push(false); | ||
return; | ||
@@ -1011,2 +1108,14 @@ } | ||
// document type | ||
if (frameContext.has('documentType-use-header')) { | ||
if (DOCUMENT_TYPE_OBSERVER_KEYCODE.test(keyCode)) { | ||
frameContext.get('documentType').reHeader(); | ||
const el = domUtils.getParentElement(this.selection.selectionNode, this.format.isLine.bind(this.format)); | ||
frameContext.get('documentType').on(el); | ||
} else { | ||
const el = domUtils.getParentElement(selectionNode, (current) => current.nodeType === 1); | ||
frameContext.get('documentType').onChangeText(el); | ||
} | ||
} | ||
// user event | ||
@@ -1013,0 +1122,0 @@ if (this.triggerEvent('onKeyUp', { frameContext, event: e }) === false) return; |
@@ -6,3 +6,13 @@ import { domUtils, env } from '../../../helper'; | ||
let _onDownEv = null; | ||
function _offDownFn() { | ||
this.editor.status._onMousedown = false; | ||
_onDownEv = this.removeGlobalEvent(_onDownEv); | ||
} | ||
export function OnMouseDown_wysiwyg(frameContext, e) { | ||
this.editor.status._onMousedown = true; | ||
if (_onDownEv) _offDownFn.call(this); | ||
_onDownEv = this.addGlobalEvent('mouseup', _offDownFn.bind(this)); | ||
if (frameContext.get('isReadOnly') || domUtils.isNonEditable(frameContext.get('wysiwyg'))) return; | ||
@@ -106,6 +116,6 @@ if (this.format._isExcludeSelectionElement(e.target)) { | ||
this.format.removeTextStyle(); | ||
this.format.removeInlineElement(); | ||
if (n) { | ||
const insertedNode = this.format.applyTextStyle(n, null, [n.nodeName], false); | ||
const insertedNode = this.format.applyInlineElement(n, null, [n.nodeName], false); | ||
const { parent, inner } = this.nodeTransform.createNestedNode(_styleNode); | ||
@@ -112,0 +122,0 @@ insertedNode.parentNode.insertBefore(parent, insertedNode); |
@@ -48,3 +48,2 @@ /** | ||
this.__secopy = null; | ||
// this.__scrollID = ''; | ||
}; | ||
@@ -616,2 +615,6 @@ | ||
this.html.insert(cleanData, false, true, true); | ||
// document type | ||
if (frameContext.has('documentType-use-header')) { | ||
frameContext.get('documentType').reHeader(); | ||
} | ||
return false; | ||
@@ -657,2 +660,16 @@ } | ||
/** modal outside click */ | ||
if (this.options.get('closeModalOutsideClick')) { | ||
this.addEvent( | ||
this.carrierWrapper.querySelector('.se-modal-inner'), | ||
'click', | ||
(e) => { | ||
if (e.target === this.carrierWrapper.querySelector('.se-modal-inner')) { | ||
this.editor._offCurrentModal(); | ||
} | ||
}, | ||
false | ||
); | ||
} | ||
/** window event */ | ||
@@ -966,2 +983,7 @@ this.addEvent(_w, 'resize', OnResize_window.bind(this), false); | ||
// document type page | ||
if (frameContext.has('documentType-use-page')) { | ||
frameContext.get('documentType').scrollPage(); | ||
} | ||
// user event | ||
@@ -985,3 +1007,3 @@ this.triggerEvent('onScroll', { frameContext, event: e }); | ||
const componentSelected = this.editor.status.componentSelected; | ||
const onSelected = this.editor.status.onSelected || this.editor.opendModal; | ||
this.editor._offCurrentController(); | ||
@@ -996,3 +1018,3 @@ this.status.hasFocus = true; | ||
if (!componentSelected) { | ||
if (!onSelected) { | ||
this.selection.removeRange(); | ||
@@ -1017,3 +1039,2 @@ this.applyTagEffect(); | ||
this.editor.effectNode = null; | ||
this.editor._offCurrentController(); | ||
if (this.editor.isInline || this.editor.isBalloon) this._hideToolbar(); | ||
@@ -1053,3 +1074,3 @@ if (this.editor.isSubBalloon) this._hideToolbar_sub(); | ||
this._resizeClientY = e.clientY; | ||
if (!env.isResizeObserverSupported) this.editor.__callResizeFunction(h, null); | ||
if (!env.isResizeObserverSupported) this.editor.__callResizeFunction(fc, h, null); | ||
} | ||
@@ -1150,2 +1171,8 @@ | ||
this.applyTagEffect(); | ||
// document type | ||
if (root.has('documentType-use-header')) { | ||
const el = domUtils.getParentElement(this.selection.selectionNode, this.format.isLine.bind(this.format)); | ||
root.get('documentType').on(el); | ||
} | ||
} | ||
@@ -1152,0 +1179,0 @@ }); |
@@ -28,2 +28,3 @@ /** | ||
const prevRoot = rootStack[prevKey]; | ||
const fc = editor.frameContext; | ||
@@ -67,6 +68,11 @@ stackIndex += increase; | ||
editor.char.display(); | ||
editor._resourcesStateChange(editor.frameContext); | ||
editor._resourcesStateChange(fc); | ||
// document type | ||
if (fc.has('documentType-use-header')) { | ||
fc.get('documentType').reHeader(); | ||
} | ||
// onChange | ||
change(editor.frameContext, root.index); | ||
change(fc, root.index); | ||
} | ||
@@ -73,0 +79,0 @@ |
@@ -73,3 +73,3 @@ /** | ||
} else { | ||
if (this.selection.getRange().collapsed && (r.container.nodeType === 3 || domUtils.isBreak(r.container))) { | ||
if (!isInline && this.selection.getRange().collapsed && (r.container.nodeType === 3 || domUtils.isBreak(r.container))) { | ||
const depthFormat = domUtils.getParentElement(r.container, this.format.isBlock.bind(this.format)); | ||
@@ -152,2 +152,3 @@ oNode = this.nodeTransform.split(r.container, r.offset, !depthFormat ? 0 : domUtils.getNodeDepth(depthFormat) + 1); | ||
cover: figureInfo.cover, | ||
inlineCover: figureInfo.inlineCover, | ||
caption: figureInfo.caption, | ||
@@ -171,2 +172,4 @@ isFile: isFile | ||
if (!isInput && _DragHandle.get('__overInfo') !== ON_OVER_COMPONENT) { | ||
if (this.editor.status._onMousedown) return; | ||
this.editor._antiBlur = true; | ||
@@ -223,3 +226,3 @@ this.__selectionSelected = true; | ||
this.editor.status.componentSelected = true; | ||
this.editor.status.onSelected = true; | ||
} else if (!domUtils.hasClass(info.container, 'se-input-component')) { | ||
@@ -250,3 +253,5 @@ const dragHandle = this.editor.frameContext.get('wrapper').querySelector('.se-drag-handle'); | ||
deselect() { | ||
this.editor.status.componentSelected = false; | ||
_w.setTimeout(() => { | ||
this.editor.status.onSelected = false; | ||
}, 0); | ||
this.__deselect(); | ||
@@ -336,2 +341,3 @@ domUtils.setDisabled(this.editor._controllerOnDisabledButtons, false); | ||
_setComponentLineBreaker(element) { | ||
const _overInfo = _DragHandle.get('__overInfo') === ON_OVER_COMPONENT; | ||
this.eventManager._lineBreakComp = null; | ||
@@ -367,3 +373,7 @@ const info = this.get(element); | ||
t_style[dir[1]] = ''; | ||
lb_t.setAttribute('data-offset', scrollY + ',' + scrollX); | ||
if (_overInfo) domUtils.removeClass(lb_t, 'se-on-selected'); | ||
else domUtils.addClass(lb_t, 'se-on-selected'); | ||
t_style.display = 'block'; | ||
@@ -392,2 +402,5 @@ } else { | ||
lb_b.setAttribute('data-offset', scrollY + ',' + bDir + ',' + scrollX); | ||
if (_overInfo) domUtils.removeClass(lb_b, 'se-on-selected'); | ||
else domUtils.addClass(lb_b, 'se-on-selected'); | ||
b_style.display = 'block'; | ||
@@ -477,3 +490,5 @@ } else { | ||
if (!domUtils.hasClass(target, 'se-drag-handle-full')) return; | ||
const dragInst = _DragHandle.get('__dragInst'); | ||
this._removeDragEvent(); | ||
this.select(dragInst.currentTarget, dragInst.currentPluginName, false); | ||
@@ -585,2 +600,3 @@ } | ||
el = container.nextSibling; | ||
offset = 0; | ||
break; | ||
@@ -587,0 +603,0 @@ case 38: { |
@@ -817,3 +817,3 @@ /** | ||
if (domUtils.isZeroWith(line)) { | ||
if (domUtils.isZeroWith(line) && !line.contains(rEl)) { | ||
domUtils.removeItem(line); | ||
@@ -820,0 +820,0 @@ } |
@@ -5,2 +5,3 @@ /** | ||
import CoreInjector from '../../editorInjector/_core'; | ||
import { getParentElement, isWysiwygFrame, hasClass, addClass, removeClass, getClientSize } from '../../helper/domUtils'; | ||
@@ -11,5 +12,5 @@ import { domUtils, numbers } from '../../helper'; | ||
const Offset = function (editor) { | ||
this.editor = editor; | ||
this.options = editor.options; | ||
this.context = editor.context; | ||
CoreInjector.call(this, editor); | ||
// members | ||
this._scrollEvent = null; | ||
@@ -254,3 +255,3 @@ this._elTop = 0; | ||
const eventWysiwyg = this.editor.frameContext.get('wysiwyg'); | ||
const rects = this.editor.selection.getRects(eventWysiwyg, 'start').rects; | ||
const rects = this.selection.getRects(eventWysiwyg, 'start').rects; | ||
const top = eventWysiwyg.scrollY || eventWysiwyg.scrollTop || 0; | ||
@@ -359,6 +360,5 @@ const height = eventWysiwyg.scrollHeight || 0; | ||
const wwScroll = isTargetAbs ? this.getWWScroll() : this._getWindowScroll(); | ||
const targetRect = isCtrlTarget ? target.getBoundingClientRect() : this.editor.selection.getRects(target, 'start').rects; | ||
const targetRect = isCtrlTarget ? target.getBoundingClientRect() : this.selection.getRects(target, 'start').rects; | ||
const targetOffset = this.getGlobal(target); | ||
const arrow = hasClass(element.firstElementChild, 'se-arrow') ? element.firstElementChild : null; | ||
const isIframe = isTargetAbs && this.editor.frameOptions.get('iframe'); | ||
@@ -372,47 +372,6 @@ // top ---------------------------------------------------------------------------------------------------- | ||
const tmbw = clientSize.h - targetRect.bottom; | ||
let toolbarH = !this.editor.toolbar._sticky && (this.editor.isBalloon || this.editor.isInline) ? 0 : this.context.get('toolbar.main').offsetHeight; | ||
let rmt, rmb; | ||
let rt = 0; | ||
if (this.editor.frameContext.get('isFullScreen')) { | ||
rmt = tmtw - toolbarH; | ||
rmb = tmbw; | ||
} else { | ||
const tMargin = targetRect.top; | ||
const bMargin = clientSize.h - targetRect.bottom; | ||
const editorOffset = this.getGlobal(); | ||
const editorScroll = this.getGlobalScroll(); | ||
const statusBarH = this.editor.frameContext.get('statusbar')?.offsetHeight || 0; | ||
const toolbarH = !this.editor.toolbar._sticky && (this.editor.isBalloon || this.editor.isInline) ? 0 : this.context.get('toolbar.main').offsetHeight; | ||
if (isIframe) { | ||
const emt = editorOffset.top - editorScroll.top - editorScroll.ts; | ||
const editorH = this.editor.frameContext.get('topArea').offsetHeight; | ||
rmt = targetRect.top - emt; | ||
rmb = bMargin - (editorScroll.oh - (editorH + emt) + statusBarH); | ||
} else { | ||
rt = !this.editor.toolbar._sticky && !this.options.get('toolbar_container') ? toolbarH : 0; | ||
const wst = !isTargetAbs && /\d+/.test(this.editor.frameOptions.get('height')) ? editorOffset.top - _w.scrollY + rt : 0; | ||
const wsb = !isTargetAbs && /\d+/.test(this.editor.frameOptions.get('height')) ? _w.innerHeight - (editorOffset.top + editorOffset.height - _w.scrollY) : 0; | ||
let st = wst; | ||
if (toolbarH > wst) { | ||
if (this.editor.toolbar._sticky) { | ||
st = toolbarH; | ||
toolbarH = 0; | ||
} else { | ||
st = wst + toolbarH; | ||
} | ||
} else if (this.options.get('toolbar_container')) { | ||
toolbarH = 0; | ||
} else { | ||
st = wst + (this.editor.toolbar._sticky ? toolbarH : 0); | ||
} | ||
rmt = targetRect.top - st; | ||
rmb = wwScroll.rects.bottom - targetRect.bottom - wsb - statusBarH; | ||
} | ||
// display margin | ||
rmt = (rmt > 0 ? tMargin : rmt) - toolbarH; | ||
rmb = rmb > 0 ? bMargin : rmb; | ||
} | ||
// check margin | ||
const { rmt, rmb, rt } = this._getVMargin(tmtw, tmbw, toolbarH, clientSize, targetRect, isTargetAbs, wwScroll); | ||
if (isWWTarget && (rmb + targetH <= 0 || rmt + rt + targetH <= 0)) return; | ||
@@ -523,2 +482,151 @@ | ||
setRangePosition(element, range, { position, addTop } = {}) { | ||
element.style.top = '-10000px'; | ||
element.style.visibility = 'hidden'; | ||
element.style.display = 'block'; | ||
let positionTop = position === 'top'; | ||
range = range || this.selection.getRange(); | ||
const rectsObj = this.selection.getRects(range, positionTop ? 'start' : 'end'); | ||
positionTop = rectsObj.position === 'start'; | ||
const isFullScreen = this.editor.frameContext.get('isFullScreen'); | ||
const topArea = this.editor.frameContext.get('topArea'); | ||
const rects = rectsObj.rects; | ||
const scrollLeft = isFullScreen ? 0 : rectsObj.scrollLeft; | ||
const scrollTop = isFullScreen ? 0 : rectsObj.scrollTop; | ||
const editorWidth = topArea.offsetWidth; | ||
const offsets = this.getGlobal(topArea); | ||
const editorLeft = offsets.left; | ||
const toolbarWidth = element.offsetWidth; | ||
const toolbarHeight = element.offsetHeight; | ||
this._setOffsetOnRange(positionTop, rects, element, editorLeft, editorWidth, scrollLeft, scrollTop, addTop); | ||
if (this.isSub && this.getGlobal(element).top - offsets.top < 0) { | ||
positionTop = !positionTop; | ||
this._setOffsetOnRange(positionTop, rects, element, editorLeft, editorWidth, scrollLeft, scrollTop, addTop); | ||
} | ||
if (toolbarWidth !== element.offsetWidth || toolbarHeight !== element.offsetHeight) { | ||
this._setOffsetOnRange(positionTop, rects, element, editorLeft, editorWidth, scrollLeft, scrollTop, addTop); | ||
} | ||
// check margin | ||
const isTargetAbs = !this.carrierWrapper.contains(element); | ||
const clientSize = getClientSize(_d); | ||
const wwScroll = isTargetAbs ? this.getWWScroll() : this._getWindowScroll(); | ||
const targetH = rects.height; | ||
const tmtw = rects.top; | ||
const tmbw = clientSize.h - rects.bottom; | ||
const toolbarH = !this.editor.toolbar._sticky && (this.editor.isBalloon || this.editor.isInline) ? 0 : this.context.get('toolbar.main').offsetHeight; | ||
const { rmt, rmb, rt } = this._getVMargin(tmtw, tmbw, toolbarH, clientSize, rects, isTargetAbs, wwScroll); | ||
if (rmb + targetH <= 0 || rmt + rt + targetH <= 0) return; | ||
_w.setTimeout(() => { | ||
element.style.visibility = ''; | ||
}, 0); | ||
return true; | ||
}, | ||
_setOffsetOnRange(isDirTop, rects, element, editorLeft, editorWidth, scrollLeft, scrollTop, addTop = 0) { | ||
const padding = 1; | ||
const arrow = element.querySelector('.se-arrow '); | ||
const arrowMargin = Math.round(arrow.offsetWidth / 2); | ||
const elW = element.offsetWidth; | ||
const elH = rects.noText && !isDirTop ? 0 : element.offsetHeight; | ||
const absoluteLeft = (isDirTop ? rects.left : rects.right) - editorLeft - elW / 2 + scrollLeft; | ||
const overRight = absoluteLeft + elW - editorWidth; | ||
let t = (isDirTop ? rects.top - elH - arrowMargin : rects.bottom + arrowMargin) - (rects.noText ? 0 : addTop) + scrollTop; | ||
const l = absoluteLeft < 0 ? padding : overRight < 0 ? absoluteLeft : absoluteLeft - overRight - padding - 1; | ||
let resetTop = false; | ||
const space = t + (isDirTop ? this.getGlobal(this.editor.frameContext.get('topArea')).top : element.offsetHeight - this.editor.frameContext.get('wysiwyg').offsetHeight); | ||
if (!isDirTop && space > 0 && this._getPageBottomSpace() < space) { | ||
isDirTop = true; | ||
resetTop = true; | ||
} else if (isDirTop && _d.documentElement.offsetTop > space) { | ||
isDirTop = false; | ||
resetTop = true; | ||
} | ||
if (resetTop) t = (isDirTop ? rects.top - elH - arrowMargin : rects.bottom + arrowMargin) - (rects.noText ? 0 : addTop) + scrollTop; | ||
element.style.left = Math.floor(l) + 'px'; | ||
element.style.top = Math.floor(t) + 'px'; | ||
if (isDirTop) { | ||
domUtils.removeClass(arrow, 'se-arrow-up'); | ||
domUtils.addClass(arrow, 'se-arrow-down'); | ||
} else { | ||
domUtils.removeClass(arrow, 'se-arrow-down'); | ||
domUtils.addClass(arrow, 'se-arrow-up'); | ||
} | ||
const arrow_left = Math.floor(elW / 2 + (absoluteLeft - l)); | ||
arrow.style.left = (arrow_left + arrowMargin > element.offsetWidth ? element.offsetWidth - arrowMargin : arrow_left < arrowMargin ? arrowMargin : arrow_left) + 'px'; | ||
}, | ||
_getPageBottomSpace() { | ||
const topArea = this.editor.frameContext.get('topArea'); | ||
return _d.documentElement.scrollHeight - (this.getGlobal(topArea).top + topArea.offsetHeight); | ||
}, | ||
_getVMargin(tmtw, tmbw, toolbarH, clientSize, targetRect, isTargetAbs, wwScroll) { | ||
let rmt = 0; | ||
let rmb = 0; | ||
let rt = 0; | ||
if (this.editor.frameContext.get('isFullScreen')) { | ||
rmt = tmtw - toolbarH; | ||
rmb = tmbw; | ||
} else { | ||
const isIframe = isTargetAbs && this.editor.frameOptions.get('iframe'); | ||
const tMargin = targetRect.top; | ||
const bMargin = clientSize.h - targetRect.bottom; | ||
const editorOffset = this.getGlobal(); | ||
const editorScroll = this.getGlobalScroll(); | ||
const statusBarH = this.editor.frameContext.get('statusbar')?.offsetHeight || 0; | ||
if (isIframe) { | ||
const emt = editorOffset.top - editorScroll.top - editorScroll.ts; | ||
const editorH = this.editor.frameContext.get('topArea').offsetHeight; | ||
rmt = targetRect.top - emt; | ||
rmb = bMargin - (editorScroll.oh - (editorH + emt) + statusBarH); | ||
} else { | ||
rt = !this.editor.toolbar._sticky && !this.options.get('toolbar_container') ? toolbarH : 0; | ||
const wst = !isTargetAbs && /\d+/.test(this.editor.frameOptions.get('height')) ? editorOffset.top - _w.scrollY + rt : 0; | ||
const wsb = !isTargetAbs && /\d+/.test(this.editor.frameOptions.get('height')) ? _w.innerHeight - (editorOffset.top + editorOffset.height - _w.scrollY) : 0; | ||
let st = wst; | ||
if (toolbarH > wst) { | ||
if (this.editor.toolbar._sticky) { | ||
st = toolbarH; | ||
toolbarH = 0; | ||
} else { | ||
st = wst + toolbarH; | ||
} | ||
} else if (this.options.get('toolbar_container')) { | ||
toolbarH = 0; | ||
} else { | ||
st = wst + (this.editor.toolbar._sticky ? toolbarH : 0); | ||
} | ||
rmt = targetRect.top - st; | ||
rmb = wwScroll.rects.bottom - targetRect.bottom - wsb - statusBarH; | ||
} | ||
// display margin | ||
rmt = (rmt > 0 ? tMargin : rmt) - toolbarH; | ||
rmb = rmb > 0 ? bMargin : rmb; | ||
} | ||
return { | ||
rmt, | ||
rmb, | ||
rt | ||
}; | ||
}, | ||
_setArrow(arrow, key) { | ||
@@ -525,0 +633,0 @@ if (key === 'up') { |
@@ -32,2 +32,11 @@ /** | ||
/** | ||
* @description Check if the range object is valid | ||
* @param {Range|null|undefined} range Range object | ||
* @returns {Boolean} | ||
*/ | ||
isRange(range) { | ||
return /Range/.test(Object.prototype.toString.call(range?.__proto__)); | ||
}, | ||
/** | ||
* @description Get current editor's range object | ||
@@ -66,3 +75,3 @@ * @returns {Object} | ||
* @description Set current editor's range object and return. | ||
* @param {Node} startCon The startContainer property of the selection object. | ||
* @param {Node|Range} startCon The startContainer property of the selection object. | ||
* @param {number} startOff The startOffset property of the selection object. | ||
@@ -74,5 +83,13 @@ * @param {Node} endCon The endContainer property of the selection object. | ||
setRange(startCon, startOff, endCon, endOff) { | ||
if (this.isRange(startCon)) { | ||
const r = startCon; | ||
startCon = r.startContainer; | ||
startOff = r.startOffset; | ||
endCon = r.endContainer; | ||
endOff = r.endOffset; | ||
} | ||
if (!startCon || !endCon) return; | ||
if (startOff > startCon.textContent.length) startOff = startCon.textContent.length; | ||
if (endOff > endCon.textContent.length) endOff = endCon.textContent.length; | ||
if ((domUtils.isBreak(startCon) || startCon.nodeType === 3) && startOff > startCon.textContent.length) startOff = startCon.textContent.length; | ||
if ((domUtils.isBreak(endCon) || endCon.nodeType === 3) && endOff > endCon.textContent.length) endOff = endCon.textContent.length; | ||
if (this.format.isLine(startCon)) { | ||
@@ -125,2 +142,27 @@ startCon = startCon.childNodes[startOff > 0 ? startCon.childNodes.length - 1 : 0] || startCon; | ||
/** | ||
* @description Returns the range (container and offset) near the given target node. | ||
* If the target node has a next sibling, it returns the next sibling with an offset of 0. | ||
* If there is no next sibling but a previous sibling exists, it returns the previous sibling with an offset of 1. | ||
* @param {Node} target Target node whose neighboring range is to be determined. | ||
* @returns {Object|null} An object containing the nearest container node and its offset. | ||
*/ | ||
getNearRange(target) { | ||
const next = target.nextSibling; | ||
const prev = target.previousSibling; | ||
if (next) { | ||
return { | ||
container: next, | ||
offset: 0 | ||
}; | ||
} else if (prev) { | ||
return { | ||
container: prev, | ||
offset: 1 | ||
}; | ||
} | ||
return null; | ||
}, | ||
/** | ||
* @description If the "range" object is a non-editable area, add a line at the top of the editor and update the "range" object. | ||
@@ -282,3 +324,4 @@ * Returns a new "range" or argument "range". | ||
ref.startContainer?.scrollIntoView?.(this.options.get('scrollToOptions')); | ||
const el = domUtils.getParentElement(ref.startContainer, (current) => current.nodeType === 1); | ||
el?.scrollIntoView?.(this.options.get('scrollToOptions')); | ||
}, | ||
@@ -285,0 +328,0 @@ |
@@ -9,3 +9,3 @@ /** | ||
const { _w, _d } = env; | ||
const { _w } = env; | ||
@@ -288,44 +288,18 @@ const Toolbar = function (editor, { keyName, balloon, inline, balloonAlways, res }) { | ||
toolbar.style.top = '-10000px'; | ||
if (toolbar.style.display !== 'block') { | ||
toolbar.style.visibility = 'hidden'; | ||
toolbar.style.display = 'block'; | ||
} | ||
this._setBalloonOffset(isDirTop, range); | ||
this.triggerEvent('onShowToolbar', { toolbar, mode: 'balloon', frameContext: this.editor.frameContext }); | ||
_w.setTimeout(() => { | ||
toolbar.style.visibility = ''; | ||
}, 0); | ||
}, | ||
_setBalloonOffset(positionTop, range) { | ||
const isFullScreen = this.editor.frameContext.get('isFullScreen'); | ||
range = range || this.selection.getRange(); | ||
const rectsObj = this.selection.getRects(range, positionTop ? 'start' : 'end'); | ||
positionTop = rectsObj.position === 'start'; | ||
const toolbar = this.context.get(this.keyName + '.main'); | ||
const topArea = this.editor.frameContext.get('topArea'); | ||
const rects = rectsObj.rects; | ||
const scrollLeft = isFullScreen ? 0 : rectsObj.scrollLeft; | ||
const scrollTop = isFullScreen ? 0 : rectsObj.scrollTop; | ||
const editorWidth = topArea.offsetWidth; | ||
const offsets = this.offset.getGlobal(topArea); | ||
const stickyTop = offsets.top; | ||
const editorLeft = offsets.left; | ||
const toolbarWidth = toolbar.offsetWidth; | ||
const toolbarHeight = toolbar.offsetHeight; | ||
this._setBalloonPosition(positionTop, rects, toolbar, editorLeft, editorWidth, scrollLeft, scrollTop, stickyTop); | ||
if (this.isSub && this.offset.getGlobal(toolbar).top - offsets.top < 0) { | ||
positionTop = !positionTop; | ||
this._setBalloonPosition(positionTop, rects, toolbar, editorLeft, editorWidth, scrollLeft, scrollTop, stickyTop); | ||
if (!this.offset.setRangePosition(toolbar, range, { position: positionTop ? 'top' : 'bottom', addTop: stickyTop })) { | ||
this.hide(); | ||
return; | ||
} | ||
if (toolbarWidth !== toolbar.offsetWidth || toolbarHeight !== toolbar.offsetHeight) { | ||
this._setBalloonPosition(positionTop, rects, toolbar, editorLeft, editorWidth, scrollLeft, scrollTop, stickyTop); | ||
} | ||
if (this.options.get('toolbar_container')) { | ||
@@ -356,47 +330,2 @@ const editorParent = topArea.parentElement; | ||
_setBalloonPosition(isDirTop, rects, toolbarEl, editorLeft, editorWidth, scrollLeft, scrollTop, stickyTop) { | ||
const padding = 1; | ||
const arrow = this.context.get(this.keyName + '._arrow'); | ||
const arrowMargin = Math.round(arrow.offsetWidth / 2); | ||
const toolbarWidth = toolbarEl.offsetWidth; | ||
const toolbarHeight = rects.noText && !isDirTop ? 0 : toolbarEl.offsetHeight; | ||
const absoluteLeft = (isDirTop ? rects.left : rects.right) - editorLeft - toolbarWidth / 2 + scrollLeft; | ||
const overRight = absoluteLeft + toolbarWidth - editorWidth; | ||
let t = (isDirTop ? rects.top - toolbarHeight - arrowMargin : rects.bottom + arrowMargin) - (rects.noText ? 0 : stickyTop) + scrollTop; | ||
const l = absoluteLeft < 0 ? padding : overRight < 0 ? absoluteLeft : absoluteLeft - overRight - padding - 1; | ||
let resetTop = false; | ||
const space = t + (isDirTop ? this.offset.getGlobal(this.editor.frameContext.get('topArea')).top : toolbarEl.offsetHeight - this.editor.frameContext.get('wysiwyg').offsetHeight); | ||
if (!isDirTop && space > 0 && this._getPageBottomSpace() < space) { | ||
isDirTop = true; | ||
resetTop = true; | ||
} else if (isDirTop && _d.documentElement.offsetTop > space) { | ||
isDirTop = false; | ||
resetTop = true; | ||
} | ||
if (resetTop) t = (isDirTop ? rects.top - toolbarHeight - arrowMargin : rects.bottom + arrowMargin) - (rects.noText ? 0 : stickyTop) + scrollTop; | ||
toolbarEl.style.left = Math.floor(l) + 'px'; | ||
toolbarEl.style.top = Math.floor(t) + 'px'; | ||
if (isDirTop) { | ||
domUtils.removeClass(arrow, 'se-arrow-up'); | ||
domUtils.addClass(arrow, 'se-arrow-down'); | ||
} else { | ||
domUtils.removeClass(arrow, 'se-arrow-down'); | ||
domUtils.addClass(arrow, 'se-arrow-up'); | ||
} | ||
const arrow_left = Math.floor(toolbarWidth / 2 + (absoluteLeft - l)); | ||
arrow.style.left = (arrow_left + arrowMargin > toolbarEl.offsetWidth ? toolbarEl.offsetWidth - arrowMargin : arrow_left < arrowMargin ? arrowMargin : arrow_left) + 'px'; | ||
}, | ||
_getPageBottomSpace() { | ||
const topArea = this.editor.frameContext.get('topArea'); | ||
return _d.documentElement.scrollHeight - (this.offset.getGlobal(topArea).top + topArea.offsetHeight); | ||
}, | ||
_showInline() { | ||
@@ -403,0 +332,0 @@ if (!this._isInline) return; |
@@ -110,2 +110,12 @@ /** | ||
// document type | ||
if (fc.has('documentType-use-header')) { | ||
if (value) { | ||
fc.get('documentTypeInner').style.display = 'none'; | ||
} else { | ||
fc.get('documentTypeInner').style.display = ''; | ||
fc.get('documentType').reHeader(); | ||
} | ||
} | ||
// user event | ||
@@ -112,0 +122,0 @@ this.triggerEvent('onToggleCodeView', { frameContext: fc, is: fc.get('isCodeView') }); |
@@ -8,2 +8,3 @@ import { env, converter, domUtils, numbers } from '../helper'; | ||
import Events from './base/events'; | ||
import DocumentType from './section/documentType'; | ||
@@ -112,3 +113,3 @@ // class injector | ||
* @property {Array} currentNodesMap An element name array of the current cursor's node structure | ||
* @property {boolean} componentSelected Boolean value of whether component is selected | ||
* @property {boolean} onSelected Boolean value of whether component is selected | ||
* @property {number} rootKey Current root key | ||
@@ -123,5 +124,6 @@ */ | ||
currentNodesMap: [], | ||
componentSelected: false, | ||
onSelected: false, | ||
rootKey: product.rootId, | ||
_range: null | ||
_range: null, | ||
_onMousedown: false | ||
}; | ||
@@ -372,2 +374,4 @@ | ||
this.plugins[command].open(null); | ||
} else if (/popup/.test(type)) { | ||
this.plugins[command].show(); | ||
} | ||
@@ -396,9 +400,2 @@ } else if (command) { | ||
switch (command) { | ||
case 'copy': | ||
case 'cut': | ||
this.execCommand(command); | ||
break; | ||
case 'paste': | ||
// @todo | ||
break; | ||
case 'selectAll': | ||
@@ -431,3 +428,3 @@ SELECT_ALL(this); | ||
case 'removeFormat': | ||
this.format.removeTextStyle(); | ||
this.format.removeInlineElement(); | ||
this.focus(); | ||
@@ -566,2 +563,12 @@ break; | ||
// document type | ||
if (fc.has('documentType-use-header')) { | ||
if (rtl) fc.get('wrapper').appendChild(fc.get('documentTypeInner')); | ||
else fc.get('wrapper').insertBefore(fc.get('documentTypeInner'), fc.get('wysiwygFrame')); | ||
} | ||
if (fc.has('documentType-use-page')) { | ||
if (rtl) fc.get('wrapper').insertBefore(fc.get('documentTypePage'), fc.get('wysiwygFrame')); | ||
else fc.get('wrapper').appendChild(fc.get('documentTypePage')); | ||
} | ||
if (this.isBalloon) this.toolbar._showBalloon(); | ||
@@ -1077,3 +1084,2 @@ else if (this.isSubBalloon) this.subToolbar._showBalloon(); | ||
_offCurrentController() { | ||
this.__offControllers(); | ||
this.component.__deselect(); | ||
@@ -1149,2 +1155,3 @@ }, | ||
_initWysiwygArea(e, value) { | ||
// set content | ||
e.get('wysiwyg').innerHTML = | ||
@@ -1154,3 +1161,11 @@ this.html.clean(typeof value === 'string' ? value : (/^TEXTAREA$/i.test(e.get('originElement').nodeName) ? e.get('originElement').value : e.get('originElement').innerHTML) || '', true, null, null) || | ||
// char counter | ||
if (e.has('charCounter')) e.get('charCounter').textContent = this.char.getLength(); | ||
// document type init | ||
if (this.options.get('type') === 'document') { | ||
e.set('documentType', new DocumentType(this, e)); | ||
if (e.get('documentType').useHeader) e.set('documentType-use-header', true); | ||
if (e.get('documentType').usePage) e.set('documentType-use-page', true); | ||
} | ||
}, | ||
@@ -1183,2 +1198,7 @@ | ||
} | ||
// document type page | ||
if (fc.has('documentType-use-page')) { | ||
fc.get('documentType').rePage(); | ||
} | ||
}, | ||
@@ -1197,2 +1217,7 @@ | ||
} | ||
// document type page | ||
if (fc.has('documentType-use-page')) { | ||
fc.get('documentType').resizePage(); | ||
} | ||
}, | ||
@@ -1332,3 +1357,3 @@ | ||
function (launcher, element) { | ||
if (!(element = launcher.component?.call(this, element))) return null; | ||
if (!element || !(element = launcher.component?.call(this, element))) return null; | ||
return { | ||
@@ -1502,3 +1527,3 @@ target: element, | ||
this.toolbar = new Toolbar(this, { keyName: 'toolbar', balloon: this.isBalloon, balloonAlways: this.isBalloonAlways, inline: this.isInline, res: this._responsiveButtons }); | ||
if (this.options.has('_subMode')) | ||
if (this.options.has('_subMode')) { | ||
this.subToolbar = new Toolbar(this, { | ||
@@ -1511,2 +1536,3 @@ keyName: 'toolbar.sub', | ||
}); | ||
} | ||
this.selection = new Selection(this); | ||
@@ -1530,2 +1556,3 @@ this.html = new HTML(this); | ||
ClassInjector.call(this.nodeTransform, this); | ||
ClassInjector.call(this.offset, this); | ||
ClassInjector.call(this.selection, this); | ||
@@ -1543,2 +1570,3 @@ ClassInjector.call(this.toolbar, this); | ||
delete this.nodeTransform.nodeTransform; | ||
delete this.offset.offset; | ||
delete this.selection.selection; | ||
@@ -1590,2 +1618,12 @@ delete this.toolbar.toolbar; | ||
e.get('wrapper').appendChild(e.get('wysiwygFrame')); | ||
// document type | ||
if (e.get('documentTypeInner')) { | ||
if (this.options.get('_rtl')) e.get('wrapper').appendChild(e.get('documentTypeInner')); | ||
else e.get('wrapper').insertBefore(e.get('documentTypeInner'), e.get('wysiwygFrame')); | ||
} | ||
if (e.get('documentTypePage')) { | ||
if (this.options.get('_rtl')) e.get('wrapper').insertBefore(e.get('documentTypePage'), e.get('wysiwygFrame')); | ||
else e.get('wrapper').appendChild(e.get('documentTypePage')); | ||
} | ||
}); | ||
@@ -1592,0 +1630,0 @@ |
@@ -74,2 +74,3 @@ import { domUtils, env } from '../../helper'; | ||
}); | ||
if (rtl) { | ||
@@ -144,4 +145,4 @@ domUtils.addClass(commandTargets.get('dir_rtl'), 'active'); | ||
editor.format.applyTextStyle(el, StyleMap[command] || null, [nodeName], false); | ||
editor.format.applyInlineElement(el, StyleMap[command] || null, [nodeName], false); | ||
editor.focus(); | ||
} |
@@ -24,3 +24,4 @@ import _icons from '../../assets/icons/_default'; | ||
const DEFAULT_CLASS_NAME = '^__se__|^se-|^katex'; | ||
const DEFAULT_CLASS_NAME = '^__se__|^se-|^katex|^MathJax'; | ||
const DEFAULT_CLASS_MJX = 'mjx-container|mjx-math|mjx-mrow|mjx-mi|mjx-mo|mjx-mn|mjx-msup|mjx-mfrac|mjx-munderover'; | ||
const DEFAULT_EXTRA_TAG_MAP = { script: false, style: false, meta: false, link: false, '[a-z]+:[a-z]+': false }; | ||
@@ -56,2 +57,3 @@ | ||
'mode', | ||
'type', | ||
'externalLibs', | ||
@@ -190,3 +192,3 @@ 'keepStyleOnDelete', | ||
const container = domUtils.createElement('DIV', { class: 'se-container' }); | ||
const editor_div = domUtils.createElement('DIV', { class: 'se-wrapper' }); | ||
const editor_div = domUtils.createElement('DIV', { class: 'se-wrapper' + (o.get('type') === 'document' ? ' se-type-document' : '') }); | ||
@@ -249,6 +251,15 @@ container.appendChild(domUtils.createElement('DIV', { class: 'se-toolbar-shadow' })); | ||
// document type | ||
const documentTypeInner = {}; | ||
if (o.get('type-options').includes('header')) { | ||
documentTypeInner.inner = domUtils.createElement('DIV', { class: 'se-document-lines', style: `height: ${to.get('height')};` }, '<div class="se-document-lines-inner"></div>'); | ||
} | ||
if (o.get('type-options').includes('page')) { | ||
documentTypeInner.page = domUtils.createElement('DIV', { class: 'se-document-page' }, null); | ||
} | ||
// set container | ||
top_div.appendChild(container); | ||
rootKeys.push(key); | ||
frameRoots.set(key, CreateFrameContext(editTarget, top_div, wysiwyg_div, codeWrapper, textarea, default_status_bar || statusbar, key)); | ||
frameRoots.set(key, CreateFrameContext(editTarget, top_div, wysiwyg_div, codeWrapper, textarea, default_status_bar || statusbar, documentTypeInner, key)); | ||
} | ||
@@ -354,2 +365,5 @@ /** frame - root set - end -------------------------------------------------------------- */ | ||
// migration data-.+ | ||
o.set('v2Migration', !!options.v2Migration); | ||
/** Base */ | ||
@@ -369,2 +383,4 @@ const modeValue = options.strictMode !== false; | ||
o.set('mode', options.mode || 'classic'); // classic, inline, balloon, balloon-always | ||
o.set('type', options.type?.split(':')[0] || ''); // document:header,page | ||
o.set('type-options', options.type?.split(':')[1] || ''); | ||
o.set('externalLibs', options.externalLibs || {}); | ||
@@ -374,2 +390,3 @@ o.set('keepStyleOnDelete', !!options.keepStyleOnDelete); | ||
o.set('allowedClassName', new RegExp(`${options.allowedClassName && typeof options.allowedClassName === 'string' ? options.allowedClassName + '|' : ''}${DEFAULT_CLASS_NAME}`)); | ||
o.set('closeModalOutsideClick', !!options.closeModalOutsideClick); | ||
@@ -388,5 +405,2 @@ // format | ||
// migration data-.+ | ||
o.set('v2Migration', !!options.v2Migration); | ||
let retainStyleMode = options.retainStyleMode; | ||
@@ -491,3 +505,4 @@ if (typeof retainStyleMode === 'string' && !RETAIN_STYLE_MODE.includes(retainStyleMode)) { | ||
const elw = (typeof options.elementWhitelist === 'string' ? options.elementWhitelist : '').toLowerCase(); | ||
o.set('elementWhitelist', elw + (elw ? '|' : '') + o.get('_allowedExtraTag')); | ||
const mjxEls = o.get('externalLibs').mathjax ? DEFAULT_CLASS_MJX + '|' : ''; | ||
o.set('elementWhitelist', elw + (elw ? '|' : '') + mjxEls + o.get('_allowedExtraTag')); | ||
const elb = _createBlacklist((typeof options.elementBlacklist === 'string' ? options.elementBlacklist : '').toLowerCase(), o.get('defaultLine')); | ||
@@ -1006,3 +1021,3 @@ o.set('elementBlacklist', elb + (elb ? '|' : '') + o.get('_disallowedExtraTag')); | ||
* @param {string} dataCommand The data-command property of the button | ||
* @param {string} dataType The data-type property of the button ('modal', 'dropdown', 'command', 'container') | ||
* @param {"command"|"dropdown"|"field"|"fileBrowser"|"input"|"modal"|"popup"} dataType The data-type property of the button | ||
* @param {string} innerHTML Html in button | ||
@@ -1016,11 +1031,18 @@ * @param {string} _disabled Button disabled | ||
const label = title || ''; | ||
const oButton = domUtils.createElement(/^INPUT|FIELD$/i.test(dataType) ? 'DIV' : 'BUTTON', { | ||
type: 'button', | ||
class: 'se-toolbar-btn se-btn se-tooltip' + (className ? ' ' + className : ''), | ||
'data-command': dataCommand, | ||
'data-type': dataType, | ||
'aria-label': label.replace(/<span .+<\/span>/, ''), | ||
tabindex: '-1' | ||
}); | ||
const isDiv = /^INPUT|FIELD$/i.test(dataType); | ||
const oButton = | ||
'se-toolbar-separator-vertical' === className | ||
? domUtils.createElement('DIV', { class: className, tabindex: '-1' }, null) | ||
: domUtils.createElement(isDiv ? 'DIV' : 'BUTTON', { | ||
class: 'se-toolbar-btn se-btn se-tooltip' + (className ? ' ' + className : ''), | ||
'data-command': dataCommand, | ||
'data-type': dataType, | ||
'aria-label': label.replace(/<span .+<\/span>/, ''), | ||
tabindex: '-1' | ||
}); | ||
if (!isDiv) { | ||
oButton.setAttribute('type', 'button'); | ||
} | ||
if (/^default\./i.test(innerHTML)) { | ||
@@ -1131,3 +1153,3 @@ innerHTML = icons[innerHTML.replace(/^default\./i, '')]; | ||
let buttonElement = null; | ||
let vertical = false; | ||
// let vertical = false; | ||
const moreLayer = domUtils.createElement('DIV', { class: 'se-toolbar-more-layer' }); | ||
@@ -1185,2 +1207,5 @@ const buttonTray = domUtils.createElement('DIV', { class: 'se-btn-tray' }); | ||
modules = ['se-btn-more', /^lang\./i.test(title) ? lang[title.replace(/^lang\./i, '')] : title, moreCommand, 'MORE', innerHTML]; | ||
} else if (button === '|') { | ||
// separator vertical | ||
modules = ['se-toolbar-separator-vertical', '', '', 'separator', '']; | ||
} else { | ||
@@ -1225,9 +1250,14 @@ // default command | ||
if (vertical) { | ||
const sv = separator_vertical.cloneNode(false); | ||
buttonTray.appendChild(sv); | ||
} | ||
// if (vertical) { | ||
// const sv = separator_vertical.cloneNode(false); | ||
// buttonTray.appendChild(sv); | ||
// } | ||
buttonTray.appendChild(moduleElement.div); | ||
vertical = true; | ||
// vertical = true; | ||
} else if (buttonGroup === '|') { | ||
// // separator vertical | ||
const sv = separator_vertical.cloneNode(false); | ||
buttonTray.appendChild(sv); | ||
continue; | ||
} else if (/^\/$/.test(buttonGroup)) { | ||
@@ -1237,3 +1267,3 @@ /** line break */ | ||
buttonTray.appendChild(enterDiv); | ||
vertical = false; | ||
// vertical = false; | ||
} | ||
@@ -1240,0 +1270,0 @@ } |
@@ -10,2 +10,3 @@ import { get as getNumber } from '../../helper/numbers'; | ||
* @param {Element} codeFrame Editor code view frame | ||
* @param {Object} documentTypeInner Document type inner | ||
* @param {Element|null} statusbar Editor statusbar | ||
@@ -15,3 +16,3 @@ * @param {any} key root key | ||
*/ | ||
export const CreateFrameContext = function (editorTarget, top, wwFrame, codeWrapper, codeFrame, statusbar, key) { | ||
export const CreateFrameContext = function (editorTarget, top, wwFrame, codeWrapper, codeFrame, statusbar, documentTypeInner, key) { | ||
const m = new Map([ | ||
@@ -24,2 +25,4 @@ ['key', key], | ||
['wrapper', top.querySelector('.se-wrapper')], | ||
['documentTypeInner', documentTypeInner.inner], | ||
['documentTypePage', documentTypeInner.page], | ||
['wysiwygFrame', wwFrame], | ||
@@ -26,0 +29,0 @@ ['wysiwyg', wwFrame], // options.iframe ? wwFrame.contentDocument.body : wwFrame |
@@ -282,2 +282,20 @@ import { _d, _w } from './env'; | ||
/** | ||
* Adds a query string to a URL. If the URL already contains a query string, the new query is appended to the existing one. | ||
* @param {string} url The original URL to which the query string will be added. | ||
* @param {string} query The query string to be added to the URL. | ||
* @returns {string} The updated URL with the query string appended. | ||
*/ | ||
export function addUrlQuery(url, query) { | ||
if (query.length > 0) { | ||
if (/\?/.test(url)) { | ||
const splitUrl = url.split('?'); | ||
url = splitUrl[0] + '?' + query + '&' + splitUrl[1]; | ||
} else { | ||
url += '?' + query; | ||
} | ||
} | ||
return url; | ||
} | ||
/** | ||
* @description Converts options-related styles and returns them for each frame. | ||
@@ -384,2 +402,3 @@ * @param {Object.<string, any>} fo frameOptions | ||
spanToStyleNode, | ||
addUrlQuery, | ||
_setDefaultOptionStyle, | ||
@@ -386,0 +405,0 @@ _setIframeStyleLinks, |
@@ -798,7 +798,7 @@ import { _d, _w } from './env'; | ||
* @param {number} offset The offset of the selection object. (core.getRange().startOffset...) | ||
* @param {string|undefined} dir Select check point - Both edge, Front edge or End edge. ("front": Front edge, "end": End edge, undefined: Both edge) | ||
* @param {"front"|"end"|undefined} dir Select check point - Both edge, Front edge or End edge. ("front": Front edge, "end": End edge, undefined: Both edge) | ||
* @returns {boolean} | ||
*/ | ||
export function isEdgePoint(container, offset, dir) { | ||
return (dir !== 'end' && offset === 0) || ((!dir || dir !== 'front') && !container.nodeValue && offset === 1) || ((!dir || dir === 'end') && container.nodeValue && offset === container.nodeValue.length); | ||
return (dir !== 'end' && offset === 0) || ((!dir || dir !== 'front') && !container.nodeValue && offset === 1) || ((!dir || dir === 'end') && container.nodeValue && offset >= container.nodeValue.length); | ||
} | ||
@@ -960,3 +960,3 @@ | ||
/** | ||
* @description It is judged whether it is the not checking node. (class="katex", "se-exclude-format") | ||
* @description It is judged whether it is the not checking node. (class="katex", "MathJax", "se-exclude-format") | ||
* @param {Node} element The node to check | ||
@@ -966,3 +966,3 @@ * @returns {boolean} | ||
export function isExcludeFormat(element) { | ||
return /(\s|^)(katex|se-exclude-format)(\s|$)/.test(element?.className); | ||
return /(\s|^)(katex|MathJax|se-exclude-format)(\s|$)/.test(element?.className); | ||
} | ||
@@ -969,0 +969,0 @@ |
@@ -149,11 +149,11 @@ export const _w = window; | ||
export const isEdge = (() => { | ||
return navigator.appVersion.includes('Edge'); | ||
return /Edg/.test(navigator.userAgent); | ||
})(); | ||
/** | ||
* @description Check if platform is OSX or IOS | ||
* @description Check if User Agent is OSX or IOS | ||
* @type {boolean} | ||
*/ | ||
export const isOSX_IOS = (() => { | ||
return /(Mac|iPhone|iPod|iPad)/.test(navigator.platform); | ||
return /(Mac|iPhone|iPod|iPad)/.test(navigator.userAgent); | ||
})(); | ||
@@ -222,5 +222,12 @@ | ||
/** | ||
* @description Device pixel ratio | ||
* @type {number} | ||
*/ | ||
export const DPI = _w.devicePixelRatio; | ||
/** --- editor env --- */ | ||
export const _allowedEmptyNodeList = '.se-component, pre, blockquote, hr, li, table, img, iframe, video, audio, canvas, details'; | ||
export const KATEX_WEBSITE = 'https://katex.org/docs/supported.html'; | ||
export const MATHJAX_WEBSITE = 'https://www.mathjax.org/'; | ||
@@ -249,5 +256,8 @@ const env = { | ||
shiftIcon, | ||
_allowedEmptyNodeList | ||
DPI, | ||
_allowedEmptyNodeList, | ||
KATEX_WEBSITE, | ||
MATHJAX_WEBSITE | ||
}; | ||
export default env; |
@@ -25,3 +25,5 @@ (function (global, factory) { | ||
alignTop: 'Align top', | ||
anchor: 'Anchor', | ||
asBlock: 'As a block', | ||
asInline: 'As a inline', | ||
asLink: 'As a link', | ||
@@ -90,2 +92,3 @@ audio: 'Audio', | ||
hr_solid: 'Solid', | ||
id: 'ID', | ||
image: 'Image', | ||
@@ -92,0 +95,0 @@ imageGallery: 'Image gallery', |
@@ -25,2 +25,3 @@ (function (global, factory) { | ||
alignTop: '위쪽 정렬', | ||
anchor: '북마크', | ||
asBlock: '블록으로 보기', | ||
@@ -27,0 +28,0 @@ asLink: '링크로 보기', |
@@ -92,2 +92,7 @@ import { domUtils, converter } from '../helper'; | ||
// check icon | ||
const parser = new DOMParser(); | ||
const svgDoc = parser.parseFromString(this.icons.color_checked, 'image/svg+xml'); | ||
this.checkedIcon = svgDoc.documentElement; | ||
// modules - hex, hue slider | ||
@@ -142,7 +147,10 @@ if (!params.disableHEXInput) { | ||
const colorList = this.colorList; | ||
for (let i = 0, len = colorList.length; i < len; i++) { | ||
if (fillColor.toLowerCase() === colorList[i].getAttribute('data-value').toLowerCase()) { | ||
domUtils.addClass(colorList[i], 'active'); | ||
for (let i = 0, len = colorList.length, c; i < len; i++) { | ||
c = colorList[i]; | ||
if (fillColor.toLowerCase() === c.getAttribute('data-value').toLowerCase()) { | ||
c.appendChild(this.checkedIcon); | ||
domUtils.addClass(c, 'active'); | ||
} else { | ||
domUtils.removeClass(colorList[i], 'active'); | ||
domUtils.removeClass(c, 'active'); | ||
if (c.contains(this.checkedIcon)) domUtils.removeItem(this.checkedIcon); | ||
} | ||
@@ -149,0 +157,0 @@ } |
@@ -5,3 +5,3 @@ import EditorInjector from '../editorInjector'; | ||
const { ON_OVER_COMPONENT } = env; | ||
const { _w, ON_OVER_COMPONENT } = env; | ||
const NON_RESPONSE_KEYCODE = /^(1[7-9]|20|27|45|11[2-9]|12[0-3]|144|145)$/; | ||
@@ -59,3 +59,3 @@ const INDEX_0 = 2147483647; | ||
*/ | ||
open(target, positionTarget, { isWWTarget, initMethod, disabled, addOffset }) { | ||
open(target, positionTarget, { isWWTarget, initMethod, disabled, addOffset } = {}) { | ||
if (_DragHandle.get('__overInfo') === ON_OVER_COMPONENT) { | ||
@@ -95,4 +95,8 @@ return; | ||
this.__addGlobalEvent(); | ||
// display controller | ||
this._setControllerPosition(this.form, this.currentPositionTarget); | ||
this._controllerOn(this.form, target); | ||
const isRangeTarget = this.selection.isRange(target); | ||
this._controllerOn(this.form, target, isRangeTarget); | ||
this._w.setTimeout(() => _DragHandle.set('__overInfo', false), 0); | ||
@@ -109,3 +113,2 @@ }, | ||
this.isOpen = false; | ||
this.editor._antiBlur = false; | ||
this.__offset = {}; | ||
@@ -154,10 +157,14 @@ this.__addOffset = { left: 0, top: 0 }; | ||
* @description Show controller at editor area (controller elements, function, "controller target element(@Required)", "controller name(@Required)", etc..) | ||
* @param {any} arguments controller elements, function.. | ||
* @param {Element} form Controller element | ||
* @param {Element|Range} target Controller target element | ||
* @param {Boolean} isRangeTarget If the target is a Range, set it to true. | ||
*/ | ||
_controllerOn(form, target) { | ||
_controllerOn(form, target, isRangeTarget) { | ||
const params = { | ||
position: this.position, | ||
form: form, | ||
target: target, | ||
inst: this | ||
inst: this, | ||
form, | ||
target, | ||
isRangeTarget, | ||
notInCarrier: !this.carrierWrapper.contains(form) | ||
}; | ||
@@ -177,8 +184,3 @@ | ||
if (!this.isOpen) { | ||
this.editor.opendControllers.push({ | ||
position: this.position, | ||
form: form, | ||
target: target, | ||
inst: this | ||
}); | ||
this.editor.opendControllers.push(params); | ||
} | ||
@@ -188,2 +190,3 @@ | ||
this.editor._antiBlur = true; | ||
this.editor.status.onSelected = true; | ||
this.triggerEvent('onShowController', { caller: this.kind, frameContext: this.editor.frameContext, params }); | ||
@@ -208,2 +211,5 @@ }, | ||
this.editor._controllerTargetContext = null; | ||
_w.setTimeout(() => { | ||
this.editor.status.onSelected = false; | ||
}, 0); | ||
if (this.__shadowRootEventForm) { | ||
@@ -219,5 +225,5 @@ this.__shadowRootEventForm.removeEventListener('mousedown', this.__shadowRootEventListener); | ||
* @param {Element} controller Controller element. | ||
* @param {Element} referEl Element that is the basis of the controller's position. | ||
* @param {Element|Range} refer Element or Range that is the basis of the controller's position. | ||
*/ | ||
_setControllerPosition(controller, referEl) { | ||
_setControllerPosition(controller, refer) { | ||
controller.style.zIndex = INDEX_1; | ||
@@ -227,5 +233,12 @@ controller.style.visibility = 'hidden'; | ||
if (!this.offset.setAbsPosition(controller, referEl, { addOffset: this.__addOffset, position: this.position, isWWTarget: this.isWWTarget, inst: this })) { | ||
this.hide(); | ||
return; | ||
if (this.selection.isRange(refer)) { | ||
if (!this.offset.setRangePosition(this.form, refer, { position: 'bottom' })) { | ||
this.hide(); | ||
return; | ||
} | ||
} else { | ||
if (!this.offset.setAbsPosition(controller, refer, { addOffset: this.__addOffset, position: this.position, isWWTarget: this.isWWTarget, inst: this })) { | ||
this.hide(); | ||
return; | ||
} | ||
} | ||
@@ -232,0 +245,0 @@ |
@@ -33,5 +33,13 @@ import EditorInjector from '../editorInjector'; | ||
this.selectMenu_align = new SelectMenu(this, { checkList: false, position: 'bottom-center' }); | ||
this.selectMenu_align.on(this.alignButton, SetMenuAlign.bind(this), { class: 'se-resizing-align-list' }); | ||
this.selectMenu_align.on(this.alignButton, SetMenuAlign.bind(this), { class: 'se-figure-select-list' }); | ||
this.selectMenu_align.create(alignMenus.items, alignMenus.html); | ||
} | ||
// as [block, inline] selectmenu | ||
this.asButton = controllerEl.querySelector('[data-command="onas"]'); | ||
const asMenus = CreateAs(this, this.asButton); | ||
if (asMenus) { | ||
this.selectMenu_as = new SelectMenu(this, { checkList: false, position: 'bottom-center' }); | ||
this.selectMenu_as.on(this.asButton, SetMenuAs.bind(this), { class: 'se-figure-select-list' }); | ||
this.selectMenu_as.create(asMenus.items, asMenus.html); | ||
} | ||
// resize selectmenu | ||
@@ -54,4 +62,6 @@ this.resizeButton = controllerEl.querySelector('[data-command="onresize"]'); | ||
this.align = 'none'; | ||
this.as = 'block'; | ||
this._element = null; | ||
this._cover = null; | ||
this._inlineCover = null; | ||
this._container = null; | ||
@@ -85,2 +95,3 @@ this._caption = null; | ||
this.eventManager.addEvent(this.alignButton, 'click', OnClick_alignButton.bind(this)); | ||
this.eventManager.addEvent(this.asButton, 'click', OnClick_asButton.bind(this)); | ||
this.eventManager.addEvent(this.resizeButton, 'click', OnClick_resizeButton.bind(this)); | ||
@@ -108,3 +119,3 @@ this.editor.applyFrameRoots((e) => { | ||
* @param {string} className Class name of container (fixed: se-component) | ||
* @returns {object} {container, cover, caption} | ||
* @returns {object} {target, container, cover, inlineCover, caption} | ||
*/ | ||
@@ -116,3 +127,20 @@ Figure.CreateContainer = function (element, className) { | ||
// @todo | ||
Figure.CreateInlineContainer = function (element, className) { | ||
domUtils.createElement('SPAN', { class: 'se-component se-inline-component' + (className ? ' ' + className : '') }, element); | ||
return Figure.GetContainer(element); | ||
}; | ||
/** | ||
* @description Create a container for the inline resizing component and insert the element. | ||
* @param {Element} element Target element | ||
* @param {string} className Class name of container (fixed: se-component se-inline-component) | ||
* @returns {object} {target, container, cover, inlineCover, caption} | ||
*/ | ||
Figure.CreateInlineContainer = function (element, className) { | ||
domUtils.createElement('SPAN', { class: 'se-component se-inline-component' + (className ? ' ' + className : '') }, element); | ||
return Figure.GetContainer(element); | ||
}; | ||
/** | ||
* @description Return HTML string of caption(FIGCAPTION) element | ||
@@ -135,2 +163,3 @@ * @param {Element} cover Cover element(FIGURE). "CreateContainer().cover" | ||
const cover = domUtils.getParentElement(element, 'FIGURE'); | ||
const inlineCover = domUtils.getParentElement(element, 'SPAN'); | ||
return { | ||
@@ -140,2 +169,3 @@ target: element, | ||
cover: cover, | ||
inlineCover: domUtils.hasClass(inlineCover, 'se-inline-component') ? inlineCover : null, | ||
caption: domUtils.getEdgeChild(element.parentElement, 'FIGCAPTION') | ||
@@ -235,16 +265,13 @@ }; | ||
const figureInfo = Figure.GetContainer(target); | ||
if (!figureInfo.container) return { container: null, cover: null }; | ||
if (!figureInfo.container) { | ||
return { container: null, cover: null, width: target.style.width || (!numbers.is(target.width) ? target.width : '') || '', height: target.style.height || (!numbers.is(target.height) ? target.height : '') || '' }; | ||
} | ||
_DragHandle.set('__figureInst', this); | ||
this._cover = figureInfo.cover; | ||
this._container = figureInfo.container; | ||
this._caption = figureInfo.caption; | ||
this._element = target; | ||
this.align = (this._container.className.match(/(?:^|\s)__se__float-(none|left|center|right)(?:$|\s)/) || [])[1] || target.style.float || 'none'; | ||
this.isVertical = /^(90|270)$/.test(Math.abs(GetRotateValue(target).r).toString()); | ||
this._setFigureInfo(figureInfo); | ||
const sizeTarget = figureTarget ? this._cover || this._container || target : target; | ||
const w = sizeTarget.offsetWidth; | ||
const h = sizeTarget.offsetHeight; | ||
const w = sizeTarget.offsetWidth || ''; | ||
const h = sizeTarget.offsetHeight || ''; | ||
const { top, left, scrollX, scrollY } = this.offset.getLocal(sizeTarget); | ||
@@ -313,3 +340,3 @@ | ||
_figure.display.style.display = nonSizeInfo ? 'none' : ''; | ||
_figure.display.style.display = nonSizeInfo || this._inlineCover ? 'none' : ''; | ||
_figure.border.style.display = nonBorder ? 'none' : ''; | ||
@@ -321,2 +348,4 @@ _figure.main.style.display = 'block'; | ||
this._setAlignIcon(); | ||
// as button | ||
this._setAsIcon(); | ||
this.editor._visibleControllers(true, true); | ||
@@ -327,2 +356,10 @@ // size | ||
this._displayResizeHandles(!nonResizing); | ||
// rotate, aption, align, onresize - display; | ||
const transformButtons = this.controller.form.querySelectorAll( | ||
'[data-command="rotate"][data-value="90"], [data-command="rotate"][data-value="-90"], [data-command="caption"], [data-command="onalign"], [data-command="onresize"]' | ||
); | ||
const display = this._inlineCover ? 'none' : ''; | ||
transformButtons.forEach((button) => { | ||
button.style.display = display; | ||
}); | ||
// selecte | ||
@@ -344,3 +381,3 @@ domUtils.removeClass(this._cover, 'se-figure-over-selected'); | ||
// drag | ||
if (_DragHandle.get('__overInfo') !== ON_OVER_COMPONENT || domUtils.hasClass(figureInfo.container, 'se-input-component')) { | ||
if (!this._inlineCover && (_DragHandle.get('__overInfo') !== ON_OVER_COMPONENT || domUtils.hasClass(figureInfo.container, 'se-input-component'))) { | ||
this._setDragEvent(_figure.main); | ||
@@ -394,8 +431,9 @@ } | ||
const w = !/%$/.test(target.style.width) ? target.style.width : ((figure.container && numbers.get(figure.container.style.width, 2)) || 100) + '%'; | ||
const h = | ||
numbers.get(figure.cover.style.paddingBottom, 0) > 0 && !this.isVertical | ||
? figure.cover.style.height | ||
: !/%$/.test(target.style.height) || !/%$/.test(target.style.width) | ||
? target.style.height | ||
: ((figure.container && numbers.get(figure.container.style.height, 2)) || 100) + '%'; | ||
const h = figure.inlineCover | ||
? figure.inlineCover.style.height | ||
: numbers.get(figure.cover.style.paddingBottom, 0) > 0 && !this.isVertical | ||
? figure.cover.style.height | ||
: !/%$/.test(target.style.height) || !/%$/.test(target.style.width) | ||
? target.style.height | ||
: ((figure.container && numbers.get(figure.container.style.height, 2)) || 100) + '%'; | ||
return { | ||
@@ -417,4 +455,5 @@ w: w || 'auto', | ||
const figure = Figure.GetContainer(target); | ||
if (!figure.cover) return; | ||
const container = figure.container; | ||
const cover = figure.cover; | ||
@@ -443,2 +482,88 @@ if (/%$/.test(target.style.width) && align === 'center' && !this.component.isInline(container)) { | ||
/** | ||
* @description As style[block, inline] the component | ||
* @param {Element|null} target Target element | ||
* @param {"block"|"inline"} formatStyle Format style | ||
*/ | ||
convertAsFormat(target, formatStyle) { | ||
if (!target) target = this._element; | ||
this.as = formatStyle || 'block'; | ||
const { container, inlineCover } = Figure.GetContainer(target); | ||
const { w, h } = this.getSize(target); | ||
const newTarget = target.cloneNode(false); | ||
switch (formatStyle) { | ||
case 'inline': { | ||
if (inlineCover) break; | ||
this.component.deselect(); | ||
const next = container.nextElementSibling; | ||
const parent = container.parentElement; | ||
newTarget.style.width = ''; | ||
newTarget.style.height = ''; | ||
const figure = Figure.CreateInlineContainer(newTarget); | ||
domUtils.addClass( | ||
figure.container, | ||
container.className | ||
.split(' ') | ||
.filter((v) => v !== 'se-figure-selected' && v !== 'se-component-selected') | ||
.join('|') | ||
); | ||
this._asFormatChange(figure, w, h); | ||
const line = domUtils.createElement(this.options.get('defaultLine'), null, figure.container); | ||
parent.insertBefore(line, next); | ||
domUtils.removeItem(container); | ||
break; | ||
} | ||
case 'block': { | ||
if (!inlineCover) break; | ||
this.component.deselect(); | ||
this.selection.setRange(container, 0, container, 1); | ||
const r = this.html.remove(); | ||
const s = this.nodeTransform.split(r.container, r.offset, 0); | ||
if (s?.previousElementSibling && domUtils.isZeroWith(s.previousElementSibling)) { | ||
domUtils.removeItem(s.previousElementSibling); | ||
} | ||
newTarget.style.width = ''; | ||
newTarget.style.height = ''; | ||
const figure = Figure.CreateContainer(newTarget); | ||
domUtils.addClass( | ||
figure.container, | ||
container.className | ||
.split(' ') | ||
.filter((v) => v !== 'se-inline-component' && v !== 'se-figure-selected' && v !== 'se-component-selected') | ||
.join('|') | ||
); | ||
this._asFormatChange(figure, w, h); | ||
(s || r.container).parentElement.insertBefore(figure.container, s); | ||
break; | ||
} | ||
} | ||
}, | ||
_asFormatChange(figureinfo, w, h) { | ||
const kind = this.kind; | ||
figureinfo.target.onload = () => this.component.select(figureinfo.target, kind, false); | ||
this._setFigureInfo(figureinfo); | ||
if (figureinfo.inlineCover) { | ||
this.setAlign(figureinfo.target, 'none'); | ||
this.deleteTransform(); | ||
} | ||
this.setSize(w, h); | ||
}, | ||
/** | ||
* @override controller | ||
@@ -449,6 +574,8 @@ * @param {Element} target Target button element | ||
controllerAction(target) { | ||
// @todo | ||
const command = target.getAttribute('data-command'); | ||
const value = target.getAttribute('data-value'); | ||
const type = target.getAttribute('data-type'); | ||
const element = this._element; | ||
if (/^(onalign|onresize)$/.test(command)) return; | ||
if (/^on.+/.test(command) || type === 'selectMenu') return; | ||
@@ -524,2 +651,35 @@ switch (command) { | ||
retainFigureFormat(container, originEl, anchorCover) { | ||
const isInline = this.component.isInline(container); | ||
let existElement = this.format.isBlock(originEl.parentNode) || domUtils.isWysiwygFrame(originEl.parentNode) ? originEl : domUtils.isAnchor(originEl.parentNode) ? originEl.parentNode : this.format.getLine(originEl) || originEl; | ||
if (domUtils.getParentElement(originEl, domUtils.isExcludeFormat)) { | ||
existElement = anchorCover && anchorCover !== originEl ? anchorCover : originEl; | ||
existElement.parentNode.replaceChild(container, existElement); | ||
} else if (isInline && this.format.isLine(existElement)) { | ||
const refer = isInline && /^SPAN$/i.test(originEl.parentElement) ? originEl.parentElement : originEl; | ||
refer.parentElement.replaceChild(container, refer); | ||
} else if (domUtils.isListCell(existElement)) { | ||
const refer = domUtils.getParentElement(originEl, (current) => current.parentNode === existElement); | ||
existElement.insertBefore(container, refer); | ||
domUtils.removeItem(originEl); | ||
this.nodeTransform.removeEmptyNode(refer, null, true); | ||
} else if (this.format.isLine(existElement)) { | ||
const refer = domUtils.getParentElement(originEl, (current) => current.parentNode === existElement); | ||
existElement = this.nodeTransform.split(existElement, refer); | ||
existElement.parentNode.insertBefore(container, existElement); | ||
domUtils.removeItem(originEl); | ||
this.nodeTransform.removeEmptyNode(existElement, null, true); | ||
} else { | ||
if (this.format.isLineOnly(existElement.parentNode)) { | ||
const formats = existElement.parentNode; | ||
formats.parentNode.insertBefore(container, existElement.previousSibling ? formats.nextElementSibling : formats); | ||
if (this.fileManager.__updateTags.map((current) => existElement.contains(current)).length === 0) domUtils.removeItem(existElement); | ||
} else { | ||
existElement = domUtils.isFigure(existElement.parentNode) ? domUtils.getParentElement(existElement.parentNode, Figure.__is) : existElement; | ||
existElement.parentNode.replaceChild(container, existElement); | ||
} | ||
} | ||
}, | ||
/** | ||
@@ -570,2 +730,3 @@ * @description Initialize the transform style (rotation) of the element. | ||
const figureInfo = Figure.GetContainer(element); | ||
const cover = figureInfo.cover || figureInfo.inlineCover; | ||
const offsetW = width || element.offsetWidth; | ||
@@ -579,4 +740,4 @@ const offsetH = height || element.offsetHeight; | ||
figureInfo.cover.style.width = w; | ||
figureInfo.cover.style.height = figureInfo.caption ? '' : h; | ||
cover.style.width = w; | ||
cover.style.height = figureInfo.caption || figureInfo.inlineCover ? '' : h; | ||
@@ -602,2 +763,13 @@ if (isVertical) { | ||
_setFigureInfo(figureInfo) { | ||
this._inlineCover = figureInfo.inlineCover; | ||
this._cover = figureInfo.cover || this._inlineCover; | ||
this._container = figureInfo.container; | ||
this._caption = figureInfo.caption; | ||
this._element = figureInfo.target; | ||
this.align = (this._container.className.match(/(?:^|\s)__se__float-(none|left|center|right)(?:$|\s)/) || [])[1] || figureInfo.target.style.float || 'none'; | ||
this.as = this._inlineCover ? 'inline' : 'block'; | ||
this.isVertical = /^(90|270)$/.test(Math.abs(GetRotateValue(figureInfo.target).r).toString()); | ||
}, | ||
_setRotate(element, r, x, y) { | ||
@@ -667,2 +839,4 @@ let width = (element.offsetWidth - element.offsetHeight) * (/^-/.test(r) ? 1 : -1); | ||
__setCoverPaddingBottom(w, h) { | ||
if (this._inlineCover === this._cover) return; | ||
this._cover.style.height = h; | ||
@@ -704,4 +878,6 @@ if (/%$/.test(w) && this.align === 'center') { | ||
this._container.style.height = ''; | ||
this._cover.style.width = '100%'; | ||
this._cover.style.height = h; | ||
if (this._inlineCover !== this._cover) { | ||
this._cover.style.width = '100%'; | ||
this._cover.style.height = h; | ||
} | ||
this._element.style.width = '100%'; | ||
@@ -743,2 +919,7 @@ this._element.style.maxWidth = ''; | ||
_setAsIcon() { | ||
if (!this.asButton) return; | ||
domUtils.changeElement(this.asButton.firstElementChild, this.icons[`as_${this.as}`]); | ||
}, | ||
_saveCurrentSize() { | ||
@@ -822,31 +1003,2 @@ if (this.__preventSizechange) return; | ||
_retainFigureFormat(container, originEl, anchorCover) { | ||
let existElement = this.format.isBlock(originEl.parentNode) || domUtils.isWysiwygFrame(originEl.parentNode) ? originEl : domUtils.isAnchor(originEl.parentNode) ? originEl.parentNode : this.format.getLine(originEl) || originEl; | ||
if (domUtils.getParentElement(originEl, domUtils.isExcludeFormat)) { | ||
existElement = anchorCover && anchorCover !== originEl ? anchorCover : originEl; | ||
existElement.parentNode.replaceChild(container, existElement); | ||
} else if (domUtils.isListCell(existElement)) { | ||
const refer = domUtils.getParentElement(originEl, (current) => current.parentNode === existElement); | ||
existElement.insertBefore(container, refer); | ||
domUtils.removeItem(originEl); | ||
this.nodeTransform.removeEmptyNode(refer, null, true); | ||
} else if (this.format.isLine(existElement)) { | ||
const refer = domUtils.getParentElement(originEl, (current) => current.parentNode === existElement); | ||
existElement = this.nodeTransform.split(existElement, refer); | ||
existElement.parentNode.insertBefore(container, existElement); | ||
domUtils.removeItem(originEl); | ||
this.nodeTransform.removeEmptyNode(existElement, null, true); | ||
} else { | ||
if (this.format.isLineOnly(existElement.parentNode)) { | ||
const formats = existElement.parentNode; | ||
formats.parentNode.insertBefore(container, existElement.previousSibling ? formats.nextElementSibling : formats); | ||
if (this.fileManager.__updateTags.map((current) => existElement.contains(current)).length === 0) domUtils.removeItem(existElement); | ||
} else { | ||
existElement = domUtils.isFigure(existElement.parentNode) ? domUtils.getParentElement(existElement.parentNode, Figure.__is) : existElement; | ||
existElement.parentNode.replaceChild(container, existElement); | ||
} | ||
} | ||
}, | ||
constructor: Figure | ||
@@ -904,2 +1056,6 @@ }; | ||
inst._displayResizeHandles(false); | ||
const _display = this.editor.frameContext.get('_figure').display; | ||
_display.style.display = 'block'; | ||
domUtils.changeTxt(_display, w + ' x ' + h); | ||
} | ||
@@ -989,2 +1145,7 @@ | ||
function SetMenuAs(value) { | ||
this.convertAsFormat(this._element, value); | ||
this.selectMenu_as.close(); | ||
} | ||
function SetResize(value) { | ||
@@ -1019,3 +1180,3 @@ if (value === 'auto') { | ||
html.push(/*html*/ ` | ||
<button type="button" class="se-btn-list se-tooltip" data-command="${commands[i]}"> | ||
<button type="button" class="se-btn-list se-tooltip" data-command="${commands[i]}" data-type="selectMenu" > | ||
${icons[i]} | ||
@@ -1032,2 +1193,24 @@ <span class="se-tooltip-inner"> | ||
function CreateAs(inst, button) { | ||
if (!button) return null; | ||
const icons = [inst.icons.as_block, inst.icons.as_inline]; | ||
const langs = [inst.lang.asBlock, inst.lang.asInline]; | ||
const commands = ['block', 'inline']; | ||
const html = []; | ||
const items = []; | ||
for (let i = 0; i < commands.length; i++) { | ||
html.push(/*html*/ ` | ||
<button type="button" class="se-btn-list se-tooltip" data-command="${commands[i]}" data-type="selectMenu" > | ||
${icons[i]} | ||
<span class="se-tooltip-inner"> | ||
<span class="se-tooltip-text">${langs[i]}</span> | ||
</span> | ||
</button>`); | ||
items.push(commands[i]); | ||
} | ||
return { html: html, items: items }; | ||
} | ||
function CreateResize(editor, button) { | ||
@@ -1058,2 +1241,6 @@ if (!button) return null; | ||
function OnClick_asButton() { | ||
this.selectMenu_as.open('', '[data-command="' + this.as + '"]'); | ||
} | ||
function OnClick_resizeButton() { | ||
@@ -1148,2 +1335,7 @@ const size = this.getSize(this._element); | ||
break; | ||
case 'as': | ||
c = 'onas'; | ||
l = 'blockStyle'; | ||
i = 'as_block'; | ||
break; | ||
case 'remove': | ||
@@ -1150,0 +1342,0 @@ c = 'remove'; |
import CoreInjector from '../editorInjector/_core'; | ||
import { CreateTooltipInner } from '../core/section/constructor'; | ||
import { env } from '../helper'; | ||
const { _w } = env; | ||
const Modal = function (inst, element) { | ||
@@ -60,3 +63,5 @@ CoreInjector.call(this, inst.editor); | ||
this._fixCurrentController(false); | ||
this.editor.opendModal = null; | ||
_w.setTimeout(() => { | ||
this.editor.opendModal = null; | ||
}, 0); | ||
@@ -63,0 +68,0 @@ if (this._closeSignal) this._modalInner.removeEventListener('click', this._closeListener[1]); |
@@ -218,4 +218,4 @@ import EditorInjector from '../editorInjector'; | ||
_createHeaderList(urlValue) { | ||
const headers = domUtils.getListChildren(this.editor.frameContext.get('wysiwyg'), (current) => /h[1-6]/i.test(current.nodeName)); | ||
_createBookmarkList(urlValue) { | ||
const headers = domUtils.getListChildren(this.editor.frameContext.get('wysiwyg'), (current) => /h[1-6]/i.test(current.nodeName) || (domUtils.isAnchor(current) && current.id)); | ||
if (headers.length === 0) return; | ||
@@ -230,3 +230,3 @@ | ||
list.push(v); | ||
menus.push('<div style="' + v.style.cssText + '">' + v.textContent + '</div>'); | ||
menus.push(domUtils.isAnchor(v) ? `<div><span class="se-text-prefix-icon">${this.icons.bookmark_anchor}</span>${v.id}</div>` : `<div style="${v.style.cssText}">${v.textContent}</div>`); | ||
} | ||
@@ -385,3 +385,3 @@ | ||
this._setLinkPreview(value); | ||
if (this._selfPathBookmark(value)) this._createHeaderList(value); | ||
if (this._selfPathBookmark(value)) this._createBookmarkList(value); | ||
else this.selectMenu_bookmark.close(); | ||
@@ -392,3 +392,3 @@ } | ||
const value = this.urlInput.value; | ||
if (this._selfPathBookmark(value)) this._createHeaderList(value); | ||
if (this._selfPathBookmark(value)) this._createBookmarkList(value); | ||
} | ||
@@ -408,3 +408,3 @@ | ||
this.download.style.display = 'none'; | ||
this._createHeaderList(url); | ||
this._createBookmarkList(url); | ||
} | ||
@@ -411,0 +411,0 @@ |
@@ -91,3 +91,3 @@ import EditorInjector from '../../editorInjector'; | ||
/** | ||
* @override fileManager | ||
* @override component | ||
* @param {Element} target Target element | ||
@@ -387,5 +387,5 @@ */ | ||
return domUtils.createElement('DIV', { class: 'se-controller se-controller-resizing' }, html); | ||
return domUtils.createElement('DIV', { class: 'se-controller se-controller-simple-input' }, html); | ||
} | ||
export default FileUpload; |
@@ -75,5 +75,5 @@ import EditorInjector from '../../editorInjector'; | ||
const newNode = domUtils.createElement('SPAN', { style: 'background-color: ' + value + ';' }); | ||
this.format.applyTextStyle(newNode, ['background-color'], null, null); | ||
this.format.applyInlineElement(newNode, ['background-color'], null, null); | ||
} else { | ||
this.format.applyTextStyle(null, ['background-color'], ['span'], true); | ||
this.format.applyInlineElement(null, ['background-color'], ['span'], true); | ||
} | ||
@@ -80,0 +80,0 @@ |
@@ -72,3 +72,3 @@ import EditorInjector from '../../editorInjector'; | ||
*/ | ||
action(target) { | ||
async action(target) { | ||
let value = target.getAttribute('data-command'); | ||
@@ -79,6 +79,10 @@ if (value) { | ||
} | ||
// before event | ||
if ((await this.triggerEvent('onFontActionBefore', { value })) === false) return; | ||
const newNode = domUtils.createElement('SPAN', { style: 'font-family: ' + value + ';' }); | ||
this.format.applyTextStyle(newNode, ['font-family'], null, null); | ||
this.format.applyInlineElement(newNode, ['font-family'], null, null); | ||
} else { | ||
this.format.applyTextStyle(null, ['font-family'], ['span'], true); | ||
this.format.applyInlineElement(null, ['font-family'], ['span'], true); | ||
} | ||
@@ -85,0 +89,0 @@ |
@@ -75,5 +75,5 @@ import EditorInjector from '../../editorInjector'; | ||
const newNode = domUtils.createElement('SPAN', { style: 'color: ' + value + ';' }); | ||
this.format.applyTextStyle(newNode, ['color'], null, null); | ||
this.format.applyInlineElement(newNode, ['color'], null, null); | ||
} else { | ||
this.format.applyTextStyle(null, ['color'], ['span'], true); | ||
this.format.applyInlineElement(null, ['color'], ['span'], true); | ||
} | ||
@@ -80,0 +80,0 @@ |
@@ -73,3 +73,3 @@ import EditorInjector from '../../editorInjector'; | ||
const removeNodes = newNode ? null : [tempElement.nodeName]; | ||
this.format.applyTextStyle(newNode, checkStyles, removeNodes, true); | ||
this.format.applyInlineElement(newNode, checkStyles, removeNodes, true); | ||
@@ -76,0 +76,0 @@ this.menu.dropdownOff(); |
@@ -39,2 +39,5 @@ // command | ||
// popup | ||
import anchor from './popup/anchor'; | ||
export { | ||
@@ -66,3 +69,4 @@ blockquote, | ||
imageGallery, | ||
fontSize | ||
fontSize, | ||
anchor | ||
}; | ||
@@ -95,3 +99,4 @@ export default { | ||
imageGallery, | ||
fontSize | ||
fontSize, | ||
anchor | ||
}; |
@@ -205,3 +205,3 @@ import EditorInjector from '../../editorInjector'; | ||
const newNode = domUtils.createElement('SPAN', { style: 'font-size: ' + size + ';' }); | ||
this.format.applyTextStyle(newNode, ['font-size'], null, null); | ||
this.format.applyInlineElement(newNode, ['font-size'], null, null); | ||
@@ -229,3 +229,3 @@ if (keyCode !== 13) target.focus(); | ||
const newNode = domUtils.createElement('SPAN', { style: 'font-size: ' + this._setSize(target, value + unit) + ';' }); | ||
this.format.applyTextStyle(newNode, ['font-size'], null, null); | ||
this.format.applyInlineElement(newNode, ['font-size'], null, null); | ||
} finally { | ||
@@ -273,8 +273,8 @@ this.isInputActive = false; | ||
const newNode = domUtils.createElement('SPAN', { style: 'font-size: ' + newSize + unit + ';' }); | ||
this.format.applyTextStyle(newNode, ['font-size'], null, null); | ||
this.format.applyInlineElement(newNode, ['font-size'], null, null); | ||
} else if (commandValue) { | ||
const newNode = domUtils.createElement('SPAN', { style: 'font-size: ' + commandValue + ';' }); | ||
this.format.applyTextStyle(newNode, ['font-size'], null, null); | ||
this.format.applyInlineElement(newNode, ['font-size'], null, null); | ||
} else { | ||
this.format.applyTextStyle(null, ['font-size'], ['span'], true); | ||
this.format.applyInlineElement(null, ['font-size'], ['span'], true); | ||
} | ||
@@ -281,0 +281,0 @@ |
@@ -157,3 +157,3 @@ import EditorInjector from '../../editorInjector'; | ||
const figure = Figure.CreateContainer(element.cloneNode(true), 'se-flex-component'); | ||
this.figure._retainFigureFormat(figure.container, element, null); | ||
this.figure.retainFigureFormat(figure.container, element, null); | ||
} | ||
@@ -160,0 +160,0 @@ }; |
@@ -27,5 +27,5 @@ import EditorInjector from '../../editorInjector'; | ||
allowMultiple: !!pluginOptions.allowMultiple, | ||
acceptedFormats: typeof pluginOptions.acceptedFormats !== 'string' || pluginOptions.acceptedFormats.trim() === '*' ? 'image/*' : pluginOptions.acceptedFormats.trim() || 'image/*' | ||
// useFormatType: pluginOptions.useFormatType ?? false, | ||
// defaultFormatType: ['block', 'inline'].includes(pluginOptions.defaultFormatType) ? pluginOptions.defaultFormatType : 'block' | ||
acceptedFormats: typeof pluginOptions.acceptedFormats !== 'string' || pluginOptions.acceptedFormats.trim() === '*' ? 'image/*' : pluginOptions.acceptedFormats.trim() || 'image/*', | ||
useFormatType: pluginOptions.useFormatType ?? true, | ||
defaultFormatType: ['block', 'inline'].includes(pluginOptions.defaultFormatType) ? pluginOptions.defaultFormatType : 'block' | ||
}; | ||
@@ -36,7 +36,8 @@ | ||
const modalEl = CreateHTML_modal(editor, this.pluginOptions); | ||
const ctrlAs = this.pluginOptions.useFormatType ? 'as' : ''; | ||
const figureControls = | ||
pluginOptions.controls || !this.pluginOptions.canResize | ||
? [['mirror_h', 'mirror_v', 'align', 'caption', 'revert', 'edit', 'remove']] | ||
? [[ctrlAs, 'mirror_h', 'mirror_v', 'align', 'caption', 'revert', 'edit', 'remove']] | ||
: [ | ||
['resize_auto,100,75,50', 'rotate_l', 'rotate_r', 'mirror_h', 'mirror_v'], | ||
[ctrlAs, 'resize_auto,100,75,50', 'rotate_l', 'rotate_r', 'mirror_h', 'mirror_v'], | ||
['edit', 'align', 'caption', 'revert', 'remove'] | ||
@@ -77,4 +78,6 @@ ]; | ||
this.captionCheckEl = modalEl.querySelector('._se_image_check_caption'); | ||
this.captionEl = this.captionCheckEl?.parentElement; | ||
this.previewSrc = modalEl.querySelector('._se_tab_content_image .se-link-preview'); | ||
this.sizeUnit = sizeUnit; | ||
this.as = 'block'; | ||
this.proportion = {}; | ||
@@ -138,3 +141,3 @@ this.inputX = {}; | ||
Image_.component = function (node) { | ||
node = domUtils.isFigure(node) ? node.firstElementChild : node; | ||
node = domUtils.isFigure(node) || (/^span$/i.test(node.nodeName) && domUtils.hasClass(node, 'se-component')) ? node.firstElementChild : node; | ||
return /^IMG$/i.test(node?.nodeName) ? node : domUtils.isAnchor(node) && /^IMG$/i.test(node?.firstElementChild?.nodeName) ? node?.firstElementChild : null; | ||
@@ -368,4 +371,2 @@ }; | ||
_activeAsInline(isInline) { | ||
const ctrlAlignBtn = this.figure.controller.form.querySelector('[data-command="onalign"]'); | ||
if (isInline) { | ||
@@ -377,3 +378,4 @@ domUtils.addClass(this.asInline, 'on'); | ||
if (this.alignForm) this.alignForm.style.display = 'none'; | ||
if (ctrlAlignBtn) ctrlAlignBtn.style.display = 'none'; | ||
// caption | ||
if (this.captionEl) this.captionEl.style.display = 'none'; | ||
} else { | ||
@@ -385,3 +387,4 @@ domUtils.addClass(this.asBlock, 'on'); | ||
if (this.alignForm) this.alignForm.style.display = ''; | ||
if (ctrlAlignBtn) ctrlAlignBtn.style.display = ''; | ||
// caption | ||
if (this.captionEl) this.captionEl.style.display = ''; | ||
} | ||
@@ -468,3 +471,3 @@ }, | ||
if (this.modal.isUpdate) this._updateSrc(infoUrl, infos.element, infos.files); | ||
else this.create(infoUrl, infos.anchor, infos.inputWidth, infos.inputHeight, infos.align, infos.files, infos.alt); | ||
else this._produce(infoUrl, infos.anchor, infos.inputWidth, infos.inputHeight, infos.align, infos.files, infos.alt); | ||
}.bind(this, imgInfo); | ||
@@ -575,2 +578,3 @@ | ||
let cover = this._cover; | ||
let inlineCover = null; | ||
let container = this._container === this._cover ? null : this._container; | ||
@@ -582,5 +586,9 @@ let isNewContainer = false; | ||
imageEl = this._element.cloneNode(true); | ||
const figureInfo = Figure.CreateContainer(imageEl, 'se-image-container'); | ||
const figureInfo = | ||
this.pluginOptions.useFormatType && width !== 'auto' && (/^span$/i.test(this._element.parentElement?.nodeName) || this.format.isLine(this._element.parentElement)) | ||
? Figure.CreateInlineContainer(imageEl, 'se-image-container') | ||
: Figure.CreateContainer(imageEl, 'se-image-container'); | ||
cover = figureInfo.cover; | ||
container = figureInfo.container; | ||
inlineCover = figureInfo.inlineCover; | ||
this.figure.open(imageEl, { nonResizing: true, nonSizeInfo: false, nonBorder: false, figureTarget: false, __fileManagerInfo: true }); | ||
@@ -604,13 +612,15 @@ } | ||
let modifiedCaption = false; | ||
if (this.captionCheckEl.checked) { | ||
if (!this._caption || isNewContainer) { | ||
this._caption = Figure.CreateCaption(cover, this.lang.caption); | ||
modifiedCaption = true; | ||
if (!inlineCover) { | ||
if (this.captionCheckEl.checked) { | ||
if (!this._caption || isNewContainer) { | ||
this._caption = Figure.CreateCaption(cover, this.lang.caption); | ||
modifiedCaption = true; | ||
} | ||
} else { | ||
if (this._caption) { | ||
domUtils.removeItem(this._caption); | ||
this._caption = null; | ||
modifiedCaption = true; | ||
} | ||
} | ||
} else { | ||
if (this._caption) { | ||
domUtils.removeItem(this._caption); | ||
this._caption = null; | ||
modifiedCaption = true; | ||
} | ||
} | ||
@@ -638,3 +648,3 @@ | ||
imageEl = this._element; | ||
this.figure._retainFigureFormat(container, this._element, isNewAnchor ? anchor : null); | ||
this.figure.retainFigureFormat(container, this._element, isNewAnchor ? anchor : null); | ||
this._element = imageEl = container.querySelector('img'); | ||
@@ -716,2 +726,10 @@ this._cover = cover; | ||
_produce(src, anchor, width, height, align, file, alt) { | ||
if (this.as !== 'inline') { | ||
this.create(src, anchor, width, height, align, file, alt); | ||
} else { | ||
this.createInline(src, anchor, width, height, file, alt); | ||
} | ||
}, | ||
applySize(w, h) { | ||
@@ -759,2 +777,24 @@ if (!w) w = this.inputX.value || this.pluginOptions.defaultWidth; | ||
createInline(src, anchor, width, height, file, alt) { | ||
const oImg = domUtils.createElement('IMG'); | ||
oImg.src = src; | ||
oImg.alt = alt; | ||
anchor = this._setAnchor(oImg, anchor ? anchor.cloneNode(false) : null); | ||
const figureInfo = Figure.CreateInlineContainer(anchor, 'se-image-container'); | ||
const container = figureInfo.container; | ||
this._element = oImg; | ||
this._container = container; | ||
this.figure.open(oImg, { nonResizing: this._nonResizing, nonSizeInfo: false, nonBorder: false, figureTarget: false, __fileManagerInfo: true }); | ||
// set size | ||
this.applySize(width, height); | ||
this.fileManager.setFileData(oImg, file); | ||
oImg.onload = OnloadImg.bind(this, oImg, this._svgDefaultSize, container); | ||
this.component.insert(container, false, true); | ||
}, | ||
_updateSrc(src, element, file) { | ||
@@ -778,3 +818,3 @@ element.src = src; | ||
} else { | ||
this.create(fileList[i].url, info.anchor, info.inputWidth, info.inputHeight, info.align, file, info.alt); | ||
this._produce(fileList[i].url, info.anchor, info.inputWidth, info.inputHeight, info.align, file, info.alt); | ||
} | ||
@@ -840,3 +880,3 @@ } | ||
} else { | ||
this.create(filesStack[i].result, anchor, width, height, align, filesStack[i].file, alt); | ||
this._produce(filesStack[i].result, anchor, width, height, align, filesStack[i].file, alt); | ||
} | ||
@@ -967,4 +1007,13 @@ } | ||
} else { | ||
const line = this.format.addLine(container, null); | ||
if (line) this.selection.setRange(line, 0, line, 0); | ||
if (!this.component.isInline(container)) { | ||
const line = this.format.addLine(container, null); | ||
if (line) this.selection.setRange(line, 0, line, 0); | ||
} else { | ||
const r = this.selection.getNearRange(container); | ||
if (r) { | ||
this.selection.setRange(r.container, r.offset, r.container, r.offset); | ||
} else { | ||
this.component.select(oImg, Image_.key, false); | ||
} | ||
} | ||
} | ||
@@ -1030,7 +1079,7 @@ | ||
<button type="button" data-command="asBlock" class="se-btn se-tooltip" aria-label="${lang.inlineStyle}"> | ||
${icons.component_outline} | ||
${icons.as_block} | ||
${CreateTooltipInner(lang.blockStyle)} | ||
</button> | ||
<button type="button" data-command="asInline" class="se-btn se-tooltip" aria-label="${lang.inlineStyle}"> | ||
${icons.component_inline} | ||
${icons.as_inline} | ||
${CreateTooltipInner(lang.inlineStyle)} | ||
@@ -1037,0 +1086,0 @@ </button> |
@@ -141,3 +141,3 @@ import EditorInjector from '../../editorInjector'; | ||
this.selection.setRange(sc, 0, ec, ec.textContent.length); | ||
this.format.applyTextStyle(null, null, ['A'], false); | ||
this.format.applyInlineElement(null, null, ['A'], false); | ||
} else { | ||
@@ -144,0 +144,0 @@ /** delete */ |
@@ -6,8 +6,12 @@ import EditorInjector from '../../editorInjector'; | ||
const Math_ = function (editor, pluginOptions) { | ||
// external library | ||
this.katex = null; | ||
this.mathjax = null; | ||
// exception | ||
if (!(this.katex = CheckKatex(editor.options.get('externalLibs').katex))) { | ||
console.warn('[SUNEDITOR.plugins.math.warn] The math plugin must need the "KaTeX" library, Please add the katex option.'); | ||
if (!(this.katex = CheckKatex(editor.options.get('externalLibs').katex)) && !(this.mathjax = CheckMathJax(editor.options.get('externalLibs').mathjax))) { | ||
console.warn('[SUNEDITOR.plugins.math.warn] The math plugin must need either "KaTeX" or "MathJax" library. Please add the katex or mathjax option.'); | ||
} | ||
// plugin bisic properties | ||
// plugin basic properties | ||
EditorInjector.call(this, editor); | ||
@@ -18,3 +22,3 @@ this.title = this.lang.math; | ||
// create HTML | ||
const modalEl = CreateHTML_modal(editor, this, pluginOptions.fontSizeList); | ||
const modalEl = CreateHTML_modal(editor, this, pluginOptions.fontSizeList, this.katex); | ||
const controllerEl = CreateHTML_controller(editor); | ||
@@ -49,3 +53,3 @@ | ||
Math_.component = function (node) { | ||
return domUtils.hasClass(node, 'katex|se-component') ? node : null; | ||
return domUtils.hasClass(node, 'se-math|katex') && domUtils.hasClass(node, 'se-component') ? node : null; | ||
}; | ||
@@ -59,3 +63,3 @@ Math_.prototype = { | ||
select(element) { | ||
if (domUtils.hasClass(element, 'katex') && getValue(element)) { | ||
if (domUtils.hasClass(element, 'se-math|katex') && getValue(element)) { | ||
this._element = element; | ||
@@ -79,5 +83,5 @@ this.controller.open(element, null, { isWWTarget: false, initMethod: null, addOffset: null }); | ||
return { | ||
query: '.katex', | ||
query: '.se-math, .katex, .MathJax', | ||
method: (element) => { | ||
if (!this.katex) return; | ||
if (!this.katex && !this.mathjax) return; | ||
@@ -88,5 +92,13 @@ const value = getValue(element); | ||
const dom = this._d.createRange().createContextualFragment(this._renderer(converter.entityToHTML(this._escapeBackslashes(value, true)))); | ||
element.innerHTML = dom.querySelector('.katex').innerHTML; | ||
element.innerHTML = dom.querySelector('.se-math, .katex').innerHTML; | ||
element.setAttribute('contenteditable', false); | ||
domUtils.addClass(element, 'se-component|se-inline-component|se-disable-pointer'); | ||
domUtils.addClass(element, 'se-component|se-inline-component|se-disable-pointer|se-math'); | ||
if (this.katex) { | ||
domUtils.addClass(element, 'katex'); | ||
} else { | ||
domUtils.removeClass(element, 'katex'); | ||
} | ||
if (this.mathjax) renderMathJax(this.mathjax); | ||
} | ||
@@ -127,14 +139,24 @@ }; | ||
modalAction() { | ||
if (this.textArea.value.trim().length === 0) return false; | ||
if (this.textArea.value.trim().length === 0 || domUtils.hasClass(this.textArea, 'se-error')) { | ||
this.textArea.focus(); | ||
return false; | ||
} | ||
const mathExp = this.textArea.value; | ||
const katexEl = this.previewElement.querySelector('.katex'); | ||
const mathEl = this.previewElement.querySelector('.se-math, .katex'); | ||
if (!katexEl) return false; | ||
katexEl.className = 'se-component se-inline-component __se__katex ' + katexEl.className; | ||
katexEl.setAttribute('contenteditable', false); | ||
katexEl.setAttribute('data-se-value', converter.htmlToEntity(this._escapeBackslashes(mathExp, false))); | ||
katexEl.setAttribute('data-se-type', this.fontSizeElement.value); | ||
katexEl.style.fontSize = this.fontSizeElement.value; | ||
if (!mathEl) return false; | ||
domUtils.addClass(mathEl, 'se-component|se-inline-component|se-disable-pointer|se-math'); | ||
mathEl.setAttribute('contenteditable', false); | ||
mathEl.setAttribute('data-se-value', converter.htmlToEntity(this._escapeBackslashes(mathExp, false))); | ||
mathEl.setAttribute('data-se-type', this.fontSizeElement.value); | ||
mathEl.style.fontSize = this.fontSizeElement.value; | ||
if (this.katex) { | ||
domUtils.addClass(mathEl, 'katex'); | ||
domUtils.removeClass(mathEl, 'MathJax'); | ||
} else { | ||
domUtils.removeClass(mathEl, 'katex'); | ||
} | ||
if (!this.isUpdateState) { | ||
@@ -144,14 +166,24 @@ const selectedFormats = this.format.getLines(); | ||
if (selectedFormats.length > 1) { | ||
const oFormat = domUtils.createElement(selectedFormats[0].nodeName, null, katexEl); | ||
this.component.insert(oFormat, false, false); | ||
const oFormat = domUtils.createElement(selectedFormats[0].nodeName, null, mathEl); | ||
this.component.insert(oFormat, false, true); | ||
} else { | ||
this.component.insert(katexEl, false, false); | ||
this.component.insert(mathEl, false, true); | ||
} | ||
} else { | ||
const containerEl = domUtils.getParentElement(this.controller.currentTarget, '.katex'); | ||
containerEl.parentNode.replaceChild(katexEl, containerEl); | ||
const compInfo = this.component.get(katexEl); | ||
const containerEl = domUtils.getParentElement(this.controller.currentTarget, '.se-component'); | ||
containerEl.parentNode.replaceChild(mathEl, containerEl); | ||
const compInfo = this.component.get(mathEl); | ||
this.component.select(compInfo.target, compInfo.pluginName, false); | ||
return true; | ||
} | ||
if (this.mathjax) renderMathJax(this.mathjax); | ||
const r = this.selection.getNearRange(mathEl); | ||
if (r) { | ||
this.selection.setRange(r.container, r.offset, r.container, r.offset); | ||
} else { | ||
this.component.select(mathEl, Math_.key, false); | ||
} | ||
return true; | ||
@@ -166,2 +198,3 @@ }, | ||
this.previewElement.innerHTML = ''; | ||
domUtils.removeClass(this.textArea, 'se-error'); | ||
}, | ||
@@ -199,7 +232,17 @@ | ||
domUtils.removeClass(this.textArea, 'se-error'); | ||
result = this.katex.src.renderToString(exp, { throwOnError: true, displayMode: true }); | ||
if (this.katex) { | ||
result = this.katex.src.renderToString(exp, { throwOnError: true, displayMode: true }); | ||
} else if (this.mathjax) { | ||
result = this.mathjax.convert(exp).outerHTML; | ||
if (/<mjx-merror/.test(result)) { | ||
domUtils.addClass(this.textArea, 'se-error'); | ||
result = `<span class="se-math-error">${result}</span>`; | ||
} else { | ||
result = `<span class="se-math">${result}</span>`; | ||
} | ||
} | ||
} catch (error) { | ||
domUtils.addClass(this.textArea, 'se-error'); | ||
result = '<span class="se-math-katex-error">Katex syntax error. (Refer <a href="' + env.KATEX_WEBSITE + '" target="_blank">KaTeX</a>)</span>'; | ||
console.warn('[SUNEDITOR.math.Katex.error] ', error.message); | ||
result = `<span class="se-math-error">Math syntax error. (Refer ${this.katex ? `<a href="${env.KATEX_WEBSITE}" target="_blank">KaTeX</a>` : `<a href="${env.MATHJAX_WEBSITE}" target="_blank">MathJax</a>`})</span>`; | ||
console.warn('[SUNEDITOR.math.error] ', error.message); | ||
} | ||
@@ -234,4 +277,10 @@ return result; | ||
this.previewElement.innerHTML = this._renderer(e.target.value); | ||
if (this.mathjax) renderMathJax(this.mathjax); | ||
} | ||
function renderMathJax(mathjax) { | ||
mathjax.clear(); | ||
mathjax.updateDocument(); | ||
} | ||
function CheckKatex(katex) { | ||
@@ -260,3 +309,23 @@ if (!katex) return null; | ||
function CreateHTML_modal({ lang, icons }, math, fontSizeList) { | ||
function CheckMathJax(mathjax) { | ||
if (!mathjax) return null; | ||
try { | ||
const adaptor = mathjax.browserAdaptor(); | ||
mathjax.RegisterHTMLHandler(adaptor); | ||
const tex = new mathjax.TeX(); | ||
const chtml = new mathjax.CHTML(); | ||
return mathjax.src.document(document, { | ||
InputJax: tex, | ||
OutputJax: chtml | ||
}); | ||
} catch (error) { | ||
console.warn('[SUNEDITOR.math.mathjax.fail] The MathJax option is set incorrectly.'); | ||
return null; | ||
} | ||
} | ||
function CreateHTML_modal({ lang, icons }, math, fontSizeList, isKatex) { | ||
const fontSize = fontSizeList || [ | ||
@@ -291,3 +360,3 @@ { | ||
<div class="se-modal-form"> | ||
<label>${lang.math_modal_inputLabel} (<a href="${env.KATEX_WEBSITE}" target="_blank">KaTeX</a>)</label> | ||
<label>${lang.math_modal_inputLabel} ${isKatex ? `(<a href="${env.KATEX_WEBSITE}" target="_blank">KaTeX</a>)` : `(<a href="${env.MATHJAX_WEBSITE}" target="_blank">MathJax</a>)`}</label> | ||
<textarea class="se-input-form se-math-exp" type="text" data-focus></textarea> | ||
@@ -294,0 +363,0 @@ </div> |
import EditorInjector from '../../editorInjector'; | ||
import { Modal, Figure, FileManager } from '../../modules'; | ||
import { domUtils, numbers, env } from '../../helper'; | ||
import { domUtils, numbers, env, converter } from '../../helper'; | ||
const { NO_EVENT } = env; | ||
@@ -31,3 +31,5 @@ | ||
videoTagAttributes: pluginOptions.videoTagAttributes || null, | ||
iframeTagAttributes: pluginOptions.iframeTagAttributes || null | ||
iframeTagAttributes: pluginOptions.iframeTagAttributes || null, | ||
query_youtube: pluginOptions.query_youtube || '', | ||
query_vimeo: pluginOptions.query_vimeo || '' | ||
}; | ||
@@ -88,3 +90,6 @@ | ||
pattern: /youtu\.?be/i, | ||
action: this.convertUrlYoutube.bind(this), | ||
action: (url) => { | ||
url = this.convertUrlYoutube(url); | ||
return converter.addUrlQuery(url, this.pluginOptions.query_youtube); | ||
}, | ||
tag: 'iframe' | ||
@@ -94,3 +99,6 @@ }, | ||
pattern: /vimeo\.com/i, | ||
action: this.convertUrlVimeo.bind(this), | ||
action: (url) => { | ||
url = this.convertUrlVimeo(url); | ||
return converter.addUrlQuery(url, this.pluginOptions.query_vimeo); | ||
}, | ||
tag: 'iframe' | ||
@@ -365,2 +373,14 @@ }, | ||
addQuery(url, query) { | ||
if (query.length > 0) { | ||
if (/\?/.test(url)) { | ||
const splitUrl = url.split('?'); | ||
url = splitUrl[0] + '?' + query + '&' + splitUrl[1]; | ||
} else { | ||
url += '?' + query; | ||
} | ||
} | ||
return url; | ||
}, | ||
applySize(w, h) { | ||
@@ -367,0 +387,0 @@ if (!w) w = this.inputX.value || this.pluginOptions.defaultWidth; |
@@ -118,3 +118,3 @@ import EditorInterface from '../../interface/editor'; | ||
*/ | ||
applyTextStyle(styleNode?: Element, styleArray?: string[], removeNodeArray?: string[], strictRemove?: boolean): void; | ||
applyInlineElement(styleNode?: Element, styleArray?: string[], removeNodeArray?: string[], strictRemove?: boolean): void; | ||
@@ -124,3 +124,3 @@ /** | ||
*/ | ||
removeTextStyle(): void; | ||
removeInlineElement(): void; | ||
@@ -127,0 +127,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2112176
173
38050
38