@_sh/strapi-plugin-ckeditor 1.0.8 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/README.md +173 -39
  2. package/admin/src/components/CKEditor/build/ckeditor.js +2 -2
  3. package/admin/src/components/CKEditor/build/ckeditor.js.map +1 -1
  4. package/admin/src/components/CKEditor/build/translations/ar.js +1 -1
  5. package/admin/src/components/CKEditor/build/translations/az.js +1 -1
  6. package/admin/src/components/CKEditor/build/translations/bs.js +1 -1
  7. package/admin/src/components/CKEditor/build/translations/ca.js +1 -1
  8. package/admin/src/components/CKEditor/build/translations/cs.js +1 -1
  9. package/admin/src/components/CKEditor/build/translations/da.js +1 -1
  10. package/admin/src/components/CKEditor/build/translations/de-ch.js +1 -1
  11. package/admin/src/components/CKEditor/build/translations/de.js +1 -1
  12. package/admin/src/components/CKEditor/build/translations/el.js +1 -1
  13. package/admin/src/components/CKEditor/build/translations/en-au.js +1 -1
  14. package/admin/src/components/CKEditor/build/translations/en-gb.js +1 -1
  15. package/admin/src/components/CKEditor/build/translations/es.js +1 -1
  16. package/admin/src/components/CKEditor/build/translations/et.js +1 -1
  17. package/admin/src/components/CKEditor/build/translations/fa.js +1 -1
  18. package/admin/src/components/CKEditor/build/translations/fi.js +1 -1
  19. package/admin/src/components/CKEditor/build/translations/fr.js +1 -1
  20. package/admin/src/components/CKEditor/build/translations/gl.js +1 -1
  21. package/admin/src/components/CKEditor/build/translations/he.js +1 -1
  22. package/admin/src/components/CKEditor/build/translations/hi.js +1 -1
  23. package/admin/src/components/CKEditor/build/translations/hr.js +1 -1
  24. package/admin/src/components/CKEditor/build/translations/hu.js +1 -1
  25. package/admin/src/components/CKEditor/build/translations/id.js +1 -1
  26. package/admin/src/components/CKEditor/build/translations/it.js +1 -1
  27. package/admin/src/components/CKEditor/build/translations/ja.js +1 -1
  28. package/admin/src/components/CKEditor/build/translations/jv.js +1 -1
  29. package/admin/src/components/CKEditor/build/translations/ko.js +1 -1
  30. package/admin/src/components/CKEditor/build/translations/ku.js +1 -1
  31. package/admin/src/components/CKEditor/build/translations/lt.js +1 -1
  32. package/admin/src/components/CKEditor/build/translations/lv.js +1 -1
  33. package/admin/src/components/CKEditor/build/translations/nb.js +1 -1
  34. package/admin/src/components/CKEditor/build/translations/ne.js +1 -1
  35. package/admin/src/components/CKEditor/build/translations/nl.js +1 -1
  36. package/admin/src/components/CKEditor/build/translations/no.js +1 -1
  37. package/admin/src/components/CKEditor/build/translations/pl.js +1 -1
  38. package/admin/src/components/CKEditor/build/translations/pt-br.js +1 -1
  39. package/admin/src/components/CKEditor/build/translations/pt.js +1 -1
  40. package/admin/src/components/CKEditor/build/translations/ro.js +1 -1
  41. package/admin/src/components/CKEditor/build/translations/ru.js +1 -1
  42. package/admin/src/components/CKEditor/build/translations/sk.js +1 -1
  43. package/admin/src/components/CKEditor/build/translations/sl.js +1 -1
  44. package/admin/src/components/CKEditor/build/translations/sq.js +1 -1
  45. package/admin/src/components/CKEditor/build/translations/sr-latn.js +1 -1
  46. package/admin/src/components/CKEditor/build/translations/sr.js +1 -1
  47. package/admin/src/components/CKEditor/build/translations/sv.js +1 -1
  48. package/admin/src/components/CKEditor/build/translations/th.js +1 -1
  49. package/admin/src/components/CKEditor/build/translations/tk.js +1 -1
  50. package/admin/src/components/CKEditor/build/translations/tr.js +1 -1
  51. package/admin/src/components/CKEditor/build/translations/ug.js +1 -1
  52. package/admin/src/components/CKEditor/build/translations/uk.js +1 -1
  53. package/admin/src/components/CKEditor/build/translations/uz.js +1 -1
  54. package/admin/src/components/CKEditor/build/translations/vi.js +1 -1
  55. package/admin/src/components/CKEditor/build/translations/zh-cn.js +1 -1
  56. package/admin/src/components/CKEditor/build/translations/zh.js +1 -1
  57. package/admin/src/components/CKEditor/index.js +159 -123
  58. package/admin/src/components/CKEditor/styles.js +12 -19
  59. package/admin/src/components/CKEditor/theme.js +282 -0
  60. package/package.json +1 -1
@@ -1 +1 @@
1
- !function(t){const e=t.zh=t.zh||{};e.dictionary=Object.assign(e.dictionary||{},{"%0 of %1":"%0/%1","Align cell text to the bottom":"向下對齊","Align cell text to the center":"置中對齊","Align cell text to the left":"靠左對齊","Align cell text to the middle":"置中對齊","Align cell text to the right":"靠右對齊","Align cell text to the top":"向上對齊","Align center":"置中對齊","Align left":"靠左對齊","Align right":"靠右對齊","Align table to the left":"靠左對齊","Align table to the right":"靠右對齊",Alignment:"對齊","Almost equal to":"",Angle:"","Approximately equal to":"",Aquamarine:"淺綠色","Asterisk operator":"","Austral sign":"","back with leftwards arrow above":"",Background:"背景顏色","Bitcoin sign":"",Black:"黑色","Block quote":"段落引用",Blue:"藍色","Blue marker":"藍色標記",Bold:"粗體",Border:"邊框","Break text":"","Bulleted List":"符號清單","Bulleted list styles toolbar":"無序清單工具列",Cancel:"取消","Cedi sign":"","Cell properties":"儲存格屬性","Cent sign":"","Center table":"置中對齊","Centered image":"置中圖片","Change image text alternative":"修改圖片的替代文字","Character categories":"","Characters: %0":"字元數: %0","Choose heading":"選取標題","Choose language":"選擇語言",Circle:"空心圓點",Code:"代碼","Colon sign":"",Color:"文字顏色","Color picker":"顏色選擇",Column:"欄","Contains as member":"","Copyright sign":"","Cruzeiro sign":"","Currency sign":"",Dashed:"虛線",Decimal:"數字","Decimal with leading zero":"0開頭的數字","Decrease indent":"減少縮排","Degree sign":"","Delete column":"刪除欄","Delete row":"刪除列","Dim grey":"淡灰色",Dimensions:"尺寸","Disable editing":"停用編輯",Disc:"實心圓點","Division sign":"","Dollar sign":"","Dong sign":"",Dotted:"點線",Double:"雙線","Double dagger":"","Double exclamation mark":"","Double low-9 quotation mark":"","Double question mark":"",Downloadable:"可下載","downwards arrow to bar":"向下停止箭頭","downwards dashed arrow":"向下虛線箭頭","downwards double arrow":"向下雙箭頭","Drachma sign":"","Dropdown toolbar":"下拉選單","Edit block":"編輯區塊","Edit link":"編輯連結","Edit source":"編輯HTML","Editor toolbar":"編輯器工具","Element of":"","Em dash":"","Empty set":"","Empty snippet content":"HTML標籤中無內容","En dash":"","Enable editing":"啟用編輯","end with leftwards arrow above":"","Enter image caption":"輸入圖片說明","Enter table caption":"輸入表標題","Euro sign":"","Euro-currency sign":"","Exclamation question mark":"",Find:"尋找","Find and replace":"尋找和取代","Find in text…":"在文本中尋找","For all":"","Fraction slash":"","French franc sign":"","Full size image":"完整尺寸圖片","German penny sign":"","Greater-than or equal to":"","Greater-than sign":"",Green:"綠色","Green marker":"綠色標記","Green pen":"綠色筆",Grey:"灰色",Groove:"內凹線","Guarani sign":"","Header column":"標題欄","Header row":"標題列",Heading:"標題","Heading 1":"標題 1","Heading 2":"標題 2","Heading 3":"標題 3","Heading 4":"標題 4","Heading 5":"標題 5","Heading 6":"標題 6",Height:"高度",Highlight:"高亮","Horizontal ellipsis":"","Horizontal line":"水平線","Horizontal text alignment toolbar":"水平對齊","Hryvnia sign":"","HTML object":"HTML 物件","HTML snippet":"HTML標籤","Identical to":"","Image resize list":"圖片縮放清單","Image toolbar":"圖片工具","image widget":"圖片小工具","In line":"","Increase indent":"增加縮排","Indian rupee sign":"",Infinity:"",Insert:"插入","Insert code block":"插入程式碼區塊","Insert column left":"插入左方欄","Insert column right":"插入右方欄","Insert HTML":"輸入HTML","Insert image":"插入圖片","Insert image via URL":"使用連結插入圖片","Insert media":"插入影音","Insert paragraph after block":"在這個區塊後面插入一個段落","Insert paragraph before block":"在這個區塊前面插入一個段落","Insert row above":"插入上方列","Insert row below":"插入下方列","Insert table":"插入表格",Inset:"內邊線",Integral:"",Intersection:"","Inverted exclamation mark":"","Inverted question mark":"",Italic:"斜體",Justify:"左右對齊","Justify cell text":"分散對齊","Kip sign":"",Language:"語言","Latin capital letter a with breve":"","Latin capital letter a with macron":"","Latin capital letter a with ogonek":"","Latin capital letter c with acute":"","Latin capital letter c with caron":"","Latin capital letter c with circumflex":"","Latin capital letter c with dot above":"","Latin capital letter d with caron":"","Latin capital letter d with stroke":"","Latin capital letter e with breve":"","Latin capital letter e with caron":"","Latin capital letter e with dot above":"","Latin capital letter e with macron":"","Latin capital letter e with ogonek":"","Latin capital letter eng":"","Latin capital letter g with breve":"","Latin capital letter g with cedilla":"","Latin capital letter g with circumflex":"","Latin capital letter g with dot above":"","Latin capital letter h with circumflex":"","Latin capital letter h with stroke":"","Latin capital letter i with breve":"","Latin capital letter i with dot above":"","Latin capital letter i with macron":"","Latin capital letter i with ogonek":"","Latin capital letter i with tilde":"","Latin capital letter j with circumflex":"","Latin capital letter k with cedilla":"","Latin capital letter l with acute":"","Latin capital letter l with caron":"","Latin capital letter l with cedilla":"","Latin capital letter l with middle dot":"","Latin capital letter l with stroke":"","Latin capital letter n with acute":"","Latin capital letter n with caron":"","Latin capital letter n with cedilla":"","Latin capital letter o with breve":"","Latin capital letter o with double acute":"","Latin capital letter o with macron":"","Latin capital letter r with acute":"","Latin capital letter r with caron":"","Latin capital letter r with cedilla":"","Latin capital letter s with acute":"","Latin capital letter s with caron":"","Latin capital letter s with cedilla":"","Latin capital letter s with circumflex":"","Latin capital letter t with caron":"","Latin capital letter t with cedilla":"","Latin capital letter t with stroke":"","Latin capital letter u with breve":"","Latin capital letter u with double acute":"","Latin capital letter u with macron":"","Latin capital letter u with ogonek":"","Latin capital letter u with ring above":"","Latin capital letter u with tilde":"","Latin capital letter w with circumflex":"","Latin capital letter y with circumflex":"","Latin capital letter y with diaeresis":"","Latin capital letter z with acute":"","Latin capital letter z with caron":"","Latin capital letter z with dot above":"","Latin capital ligature ij":"","Latin capital ligature oe":"","Latin small letter a with breve":"","Latin small letter a with macron":"","Latin small letter a with ogonek":"","Latin small letter c with acute":"","Latin small letter c with caron":"","Latin small letter c with circumflex":"","Latin small letter c with dot above":"","Latin small letter d with caron":"","Latin small letter d with stroke":"","Latin small letter dotless i":"","Latin small letter e with breve":"","Latin small letter e with caron":"","Latin small letter e with dot above":"","Latin small letter e with macron":"","Latin small letter e with ogonek":"","Latin small letter eng":"","Latin small letter f with hook":"","Latin small letter g with breve":"","Latin small letter g with cedilla":"","Latin small letter g with circumflex":"","Latin small letter g with dot above":"","Latin small letter h with circumflex":"","Latin small letter h with stroke":"","Latin small letter i with breve":"","Latin small letter i with macron":"","Latin small letter i with ogonek":"","Latin small letter i with tilde":"","Latin small letter j with circumflex":"","Latin small letter k with cedilla":"","Latin small letter kra":"","Latin small letter l with acute":"","Latin small letter l with caron":"","Latin small letter l with cedilla":"","Latin small letter l with middle dot":"","Latin small letter l with stroke":"","Latin small letter long s":"","Latin small letter n preceded by apostrophe":"","Latin small letter n with acute":"","Latin small letter n with caron":"","Latin small letter n with cedilla":"","Latin small letter o with breve":"","Latin small letter o with double acute":"","Latin small letter o with macron":"","Latin small letter r with acute":"","Latin small letter r with caron":"","Latin small letter r with cedilla":"","Latin small letter s with acute":"","Latin small letter s with caron":"","Latin small letter s with cedilla":"","Latin small letter s with circumflex":"","Latin small letter t with caron":"","Latin small letter t with cedilla":"","Latin small letter t with stroke":"","Latin small letter u with breve":"","Latin small letter u with double acute":"","Latin small letter u with macron":"","Latin small letter u with ogonek":"","Latin small letter u with ring above":"","Latin small letter u with tilde":"","Latin small letter w with circumflex":"","Latin small letter y with circumflex":"","Latin small letter z with acute":"","Latin small letter z with caron":"","Latin small letter z with dot above":"","Latin small ligature ij":"","Latin small ligature oe":"","Left aligned image":"向左對齊圖片","Left double quotation mark":"","Left single quotation mark":"","Left-pointing double angle quotation mark":"","leftwards arrow to bar":"向左停止箭頭","leftwards dashed arrow":"向左虛線箭頭","leftwards double arrow":"向左雙箭頭","Less-than or equal to":"","Less-than sign":"","Light blue":"亮藍色","Light green":"亮綠色","Light grey":"亮灰色",Link:"連結","Link image":"圖片連結","Link URL":"連結˙ URL","Lira sign":"","List properties":"","Livre tournois sign":"","Logical and":"","Logical or":"","Lower-latin":"小寫拉丁字母","Lower–roman":"小寫羅馬數字",Macron:"","Manat sign":"","Match case":"大小寫需相符","Media toolbar":"影音工具","Media URL":"影音網址","media widget":"影音小工具","Merge cell down":"合併下方儲存格","Merge cell left":"合併左方儲存格","Merge cell right":"合併右方儲存格","Merge cell up":"合併上方儲存格","Merge cells":"合併儲存格","Mill sign":"","Minus sign":"","Multiplication sign":"","N-ary product":"","N-ary summation":"",Nabla:"","Naira sign":"","New sheqel sign":"",Next:"下一","Next result":"後一個結果","No preview available":"無法顯示預覽",None:"無","Nordic mark sign":"","Not an element of":"","Not equal to":"","Not sign":"","Numbered List":"有序清單","Numbered list styles toolbar":"有序清單工具列","on with exclamation mark with left right arrow above":"","Open in a new tab":"在新視窗開啟","Open link in new tab":"在新視窗開啟連結",Orange:"橘色",Original:"原始圖片",Outset:"外框線",Overline:"",Padding:"儲存格留白","Page break":"換頁",Paragraph:"段落","Paragraph sign":"","Partial differential":"","Paste raw HTML here...":"在此貼上純HTML","Paste the media URL in the input.":"在輸入框貼上影音網址。","Per mille sign":"","Per ten thousand sign":"","Peseta sign":"","Peso sign":"","Pink marker":"粉色標記","Plain text":"純文字","Plus-minus sign":"","Pound sign":"",Previous:"上一","Previous result":"前一個結果","Proportional to":"",Purple:"紫色","Question exclamation mark":"",Red:"紅色","Red pen":"紅色筆",Redo:"重做","Registered sign":"","Remove color":"移除顏色","Remove Format":"移除格式","Remove highlight":"清除高亮","Remove language":"移除語言",Replace:"取代","Replace all":"全部取代","Replace with…":"以…替代","Resize image":"縮放圖片","Resize image to %0":"縮放圖片到 %0","Resize image to the original size":"縮放圖片到原始尺寸","Restore default":"重設至預設值","Reversed order":"","Reversed paragraph sign":"","Rich Text Editor":"豐富文字編輯器","Rich Text Editor, %0":"豐富文字編輯器,%0",Ridge:"凸起線","Right aligned image":"向右對齊圖片","Right double quotation mark":"","Right single quotation mark":"","Right-pointing double angle quotation mark":"","rightwards arrow to bar":"向右停止箭頭","rightwards dashed arrow":"向右虛線箭頭","rightwards double arrow":"向右雙箭頭",Row:"列","Ruble sign":"","Rupee sign":"",Save:"儲存","Save changes":"儲存變更","Saving changes":"正在儲存變更","Section sign":"","Select all":"選取全部","Select column":"選擇欄","Select row":"選擇列","Show more items":"顯示更多","Show options":"顯示設定","Side image":"側邊圖片","Single left-pointing angle quotation mark":"","Single low-9 quotation mark":"","Single right-pointing angle quotation mark":"",Solid:"實線","soon with rightwards arrow above":"",Source:"原始碼","Special characters":"特殊字元","Spesmilo sign":"","Split cell horizontally":"水平分割儲存格","Split cell vertically":"垂直分割儲存格",Square:"方形","Square root":"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"刪除線",Style:"樣式",Subscript:"下標",Superscript:"上標","Table alignment toolbar":"表格對齊","Table cell text alignment":"儲存格文字對齊","Table properties":"表格屬性","Table toolbar":"表格工具","Tenge sign":"","Text alignment":"文字對齊","Text alignment toolbar":"文字對齊","Text alternative":"替代文字","Text highlight toolbar":"高亮","Text to find must not be empty.":"不能查找空字串",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'顏色代碼錯誤。試試看 "#FF0000" 或 "rgb(255, 0, 0)" 或 "red"。',"The URL must not be empty.":"網址不能空白。",'The value is invalid. Try "10px" or "2em" or simply "2".':'尺寸代碼錯誤。試試看 "10px" 或 "2em" 或簡單寫 "2"。',"There exists":"","This link has no URL":"連結沒有URL","This media URL is not supported.":"不支援此影音網址。","Tilde operator":"","Tip: Find some text first in order to replace it.":"提示:先查找字串再取代","Tip: Paste the URL into the content to embed faster.":"提示:在內容貼上網址更快崁入。","To-do List":"代辦清單","Toggle caption off":"關閉表標題","Toggle caption on":"開啟表標題","Toggle the circle list style":"切換為空心圓點標示","Toggle the decimal list style":"切換為數字標示","Toggle the decimal with leading zero list style":"切換為0開頭的數字標示","Toggle the disc list style":"切換為實心圓點標示","Toggle the lower–latin list style":"切換為小寫拉丁文字標示","Toggle the lower–roman list style":"切換為小寫羅馬數字標示","Toggle the square list style":"切換為方形標示","Toggle the upper–latin list style":"切換為大寫拉丁文字標示","Toggle the upper–roman list style":"切換為大寫羅馬數字標示","top with upwards arrow above":"","Trade mark sign":"","Tugrik sign":"","Turkish lira sign":"",Turquoise:"藍綠色","Two dot leader":"",Underline:"底線",Undo:"取消",Union:"",Unlink:"移除連結","up down arrow with base":"",Update:"更新","Update image URL":"更新圖片連結","Upload failed":"上傳失敗","Upload in progress":"正在上傳","Upper-latin":"大寫拉丁字母","Upper-roman":"大寫羅馬數字","upwards arrow to bar":"向上停止箭頭","upwards dashed arrow":"向上虛線箭頭","upwards double arrow":"向上雙箭頭","Vertical text alignment toolbar":"垂直對齊","Vulgar fraction one half":"","Vulgar fraction one quarter":"","Vulgar fraction three quarters":"",White:"白色","Whole words only":"","Widget toolbar":"小工具",Width:"寬度","Won sign":"","Words: %0":"字數: %0","Wrap text":"",Yellow:"黃色","Yellow marker":"黃色標記","Yen sign":""}),e.getPluralForm=function(t){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(t){const e=t.zh=t.zh||{};e.dictionary=Object.assign(e.dictionary||{},{"%0 of %1":"%0/%1","Align cell text to the bottom":"向下對齊","Align cell text to the center":"置中對齊","Align cell text to the left":"靠左對齊","Align cell text to the middle":"置中對齊","Align cell text to the right":"靠右對齊","Align cell text to the top":"向上對齊","Align center":"置中對齊","Align left":"靠左對齊","Align right":"靠右對齊","Align table to the left":"靠左對齊","Align table to the right":"靠右對齊",Alignment:"對齊","Almost equal to":"",Angle:"","Approximately equal to":"",Aquamarine:"淺綠色","Asterisk operator":"","Austral sign":"","back with leftwards arrow above":"",Background:"背景顏色",Big:"大","Bitcoin sign":"",Black:"黑色","Block quote":"段落引用",Blue:"藍色","Blue marker":"藍色標記",Bold:"粗體",Border:"邊框","Break text":"","Bulleted List":"符號清單","Bulleted list styles toolbar":"無序清單工具列",Cancel:"取消","Cedi sign":"","Cell properties":"儲存格屬性","Cent sign":"","Center table":"置中對齊","Centered image":"置中圖片","Change image text alternative":"修改圖片的替代文字","Character categories":"","Characters: %0":"字元數: %0","Choose heading":"選取標題","Choose language":"選擇語言",Circle:"空心圓點",Code:"代碼","Colon sign":"",Color:"文字顏色","Color picker":"顏色選擇",Column:"欄","Contains as member":"","Copyright sign":"","Cruzeiro sign":"","Currency sign":"",Dashed:"虛線",Decimal:"數字","Decimal with leading zero":"0開頭的數字","Decrease indent":"減少縮排",Default:"預設","Degree sign":"","Delete column":"刪除欄","Delete row":"刪除列","Dim grey":"淡灰色",Dimensions:"尺寸","Disable editing":"停用編輯",Disc:"實心圓點","Division sign":"","Document colors":"文件顏色","Dollar sign":"","Dong sign":"",Dotted:"點線",Double:"雙線","Double dagger":"","Double exclamation mark":"","Double low-9 quotation mark":"","Double question mark":"",Downloadable:"可下載","downwards arrow to bar":"向下停止箭頭","downwards dashed arrow":"向下虛線箭頭","downwards double arrow":"向下雙箭頭","Drachma sign":"","Dropdown toolbar":"下拉選單","Edit block":"編輯區塊","Edit link":"編輯連結","Edit source":"編輯HTML","Editor toolbar":"編輯器工具","Element of":"","Em dash":"","Empty set":"","Empty snippet content":"HTML標籤中無內容","En dash":"","Enable editing":"啟用編輯","end with leftwards arrow above":"","Enter image caption":"輸入圖片說明","Enter table caption":"輸入表標題","Euro sign":"","Euro-currency sign":"","Exclamation question mark":"",Find:"尋找","Find and replace":"尋找和取代","Find in text…":"在文本中尋找","Font Background Color":"前景顏色","Font Color":"字體顏色","Font Family":"字型","Font Size":"字體大小","For all":"","Fraction slash":"","French franc sign":"","Full size image":"完整尺寸圖片","German penny sign":"","Greater-than or equal to":"","Greater-than sign":"",Green:"綠色","Green marker":"綠色標記","Green pen":"綠色筆",Grey:"灰色",Groove:"內凹線","Guarani sign":"","Header column":"標題欄","Header row":"標題列",Heading:"標題","Heading 1":"標題 1","Heading 2":"標題 2","Heading 3":"標題 3","Heading 4":"標題 4","Heading 5":"標題 5","Heading 6":"標題 6",Height:"高度",Highlight:"高亮","Horizontal ellipsis":"","Horizontal line":"水平線","Horizontal text alignment toolbar":"水平對齊","Hryvnia sign":"","HTML object":"HTML 物件","HTML snippet":"HTML標籤",Huge:"特大","Identical to":"","Image resize list":"圖片縮放清單","Image toolbar":"圖片工具","image widget":"圖片小工具","In line":"","Increase indent":"增加縮排","Indian rupee sign":"",Infinity:"",Insert:"插入","Insert code block":"插入程式碼區塊","Insert column left":"插入左方欄","Insert column right":"插入右方欄","Insert HTML":"輸入HTML","Insert image":"插入圖片","Insert image via URL":"使用連結插入圖片","Insert media":"插入影音","Insert paragraph after block":"在這個區塊後面插入一個段落","Insert paragraph before block":"在這個區塊前面插入一個段落","Insert row above":"插入上方列","Insert row below":"插入下方列","Insert table":"插入表格",Inset:"內邊線",Integral:"",Intersection:"","Inverted exclamation mark":"","Inverted question mark":"",Italic:"斜體",Justify:"左右對齊","Justify cell text":"分散對齊","Kip sign":"",Language:"語言","Latin capital letter a with breve":"","Latin capital letter a with macron":"","Latin capital letter a with ogonek":"","Latin capital letter c with acute":"","Latin capital letter c with caron":"","Latin capital letter c with circumflex":"","Latin capital letter c with dot above":"","Latin capital letter d with caron":"","Latin capital letter d with stroke":"","Latin capital letter e with breve":"","Latin capital letter e with caron":"","Latin capital letter e with dot above":"","Latin capital letter e with macron":"","Latin capital letter e with ogonek":"","Latin capital letter eng":"","Latin capital letter g with breve":"","Latin capital letter g with cedilla":"","Latin capital letter g with circumflex":"","Latin capital letter g with dot above":"","Latin capital letter h with circumflex":"","Latin capital letter h with stroke":"","Latin capital letter i with breve":"","Latin capital letter i with dot above":"","Latin capital letter i with macron":"","Latin capital letter i with ogonek":"","Latin capital letter i with tilde":"","Latin capital letter j with circumflex":"","Latin capital letter k with cedilla":"","Latin capital letter l with acute":"","Latin capital letter l with caron":"","Latin capital letter l with cedilla":"","Latin capital letter l with middle dot":"","Latin capital letter l with stroke":"","Latin capital letter n with acute":"","Latin capital letter n with caron":"","Latin capital letter n with cedilla":"","Latin capital letter o with breve":"","Latin capital letter o with double acute":"","Latin capital letter o with macron":"","Latin capital letter r with acute":"","Latin capital letter r with caron":"","Latin capital letter r with cedilla":"","Latin capital letter s with acute":"","Latin capital letter s with caron":"","Latin capital letter s with cedilla":"","Latin capital letter s with circumflex":"","Latin capital letter t with caron":"","Latin capital letter t with cedilla":"","Latin capital letter t with stroke":"","Latin capital letter u with breve":"","Latin capital letter u with double acute":"","Latin capital letter u with macron":"","Latin capital letter u with ogonek":"","Latin capital letter u with ring above":"","Latin capital letter u with tilde":"","Latin capital letter w with circumflex":"","Latin capital letter y with circumflex":"","Latin capital letter y with diaeresis":"","Latin capital letter z with acute":"","Latin capital letter z with caron":"","Latin capital letter z with dot above":"","Latin capital ligature ij":"","Latin capital ligature oe":"","Latin small letter a with breve":"","Latin small letter a with macron":"","Latin small letter a with ogonek":"","Latin small letter c with acute":"","Latin small letter c with caron":"","Latin small letter c with circumflex":"","Latin small letter c with dot above":"","Latin small letter d with caron":"","Latin small letter d with stroke":"","Latin small letter dotless i":"","Latin small letter e with breve":"","Latin small letter e with caron":"","Latin small letter e with dot above":"","Latin small letter e with macron":"","Latin small letter e with ogonek":"","Latin small letter eng":"","Latin small letter f with hook":"","Latin small letter g with breve":"","Latin small letter g with cedilla":"","Latin small letter g with circumflex":"","Latin small letter g with dot above":"","Latin small letter h with circumflex":"","Latin small letter h with stroke":"","Latin small letter i with breve":"","Latin small letter i with macron":"","Latin small letter i with ogonek":"","Latin small letter i with tilde":"","Latin small letter j with circumflex":"","Latin small letter k with cedilla":"","Latin small letter kra":"","Latin small letter l with acute":"","Latin small letter l with caron":"","Latin small letter l with cedilla":"","Latin small letter l with middle dot":"","Latin small letter l with stroke":"","Latin small letter long s":"","Latin small letter n preceded by apostrophe":"","Latin small letter n with acute":"","Latin small letter n with caron":"","Latin small letter n with cedilla":"","Latin small letter o with breve":"","Latin small letter o with double acute":"","Latin small letter o with macron":"","Latin small letter r with acute":"","Latin small letter r with caron":"","Latin small letter r with cedilla":"","Latin small letter s with acute":"","Latin small letter s with caron":"","Latin small letter s with cedilla":"","Latin small letter s with circumflex":"","Latin small letter t with caron":"","Latin small letter t with cedilla":"","Latin small letter t with stroke":"","Latin small letter u with breve":"","Latin small letter u with double acute":"","Latin small letter u with macron":"","Latin small letter u with ogonek":"","Latin small letter u with ring above":"","Latin small letter u with tilde":"","Latin small letter w with circumflex":"","Latin small letter y with circumflex":"","Latin small letter z with acute":"","Latin small letter z with caron":"","Latin small letter z with dot above":"","Latin small ligature ij":"","Latin small ligature oe":"","Left aligned image":"向左對齊圖片","Left double quotation mark":"","Left single quotation mark":"","Left-pointing double angle quotation mark":"","leftwards arrow to bar":"向左停止箭頭","leftwards dashed arrow":"向左虛線箭頭","leftwards double arrow":"向左雙箭頭","Less-than or equal to":"","Less-than sign":"","Light blue":"亮藍色","Light green":"亮綠色","Light grey":"亮灰色",Link:"連結","Link image":"圖片連結","Link URL":"連結˙ URL","Lira sign":"","List properties":"","Livre tournois sign":"","Logical and":"","Logical or":"","Lower-latin":"小寫拉丁字母","Lower–roman":"小寫羅馬數字",Macron:"","Manat sign":"","Match case":"大小寫需相符","Media toolbar":"影音工具","Media URL":"影音網址","media widget":"影音小工具","Merge cell down":"合併下方儲存格","Merge cell left":"合併左方儲存格","Merge cell right":"合併右方儲存格","Merge cell up":"合併上方儲存格","Merge cells":"合併儲存格","Mill sign":"","Minus sign":"","Multiplication sign":"","N-ary product":"","N-ary summation":"",Nabla:"","Naira sign":"","New sheqel sign":"",Next:"下一","Next result":"後一個結果","No preview available":"無法顯示預覽",None:"無","Nordic mark sign":"","Not an element of":"","Not equal to":"","Not sign":"","Numbered List":"有序清單","Numbered list styles toolbar":"有序清單工具列","on with exclamation mark with left right arrow above":"","Open in a new tab":"在新視窗開啟","Open link in new tab":"在新視窗開啟連結",Orange:"橘色",Original:"原始圖片",Outset:"外框線",Overline:"",Padding:"儲存格留白","Page break":"換頁",Paragraph:"段落","Paragraph sign":"","Partial differential":"","Paste raw HTML here...":"在此貼上純HTML","Paste the media URL in the input.":"在輸入框貼上影音網址。","Per mille sign":"","Per ten thousand sign":"","Peseta sign":"","Peso sign":"","Pink marker":"粉色標記","Plain text":"純文字","Plus-minus sign":"","Pound sign":"",Previous:"上一","Previous result":"前一個結果","Proportional to":"",Purple:"紫色","Question exclamation mark":"",Red:"紅色","Red pen":"紅色筆",Redo:"重做","Registered sign":"","Remove color":"移除顏色","Remove Format":"移除格式","Remove highlight":"清除高亮","Remove language":"移除語言",Replace:"取代","Replace all":"全部取代","Replace with…":"以…替代","Resize image":"縮放圖片","Resize image to %0":"縮放圖片到 %0","Resize image to the original size":"縮放圖片到原始尺寸","Restore default":"重設至預設值","Reversed order":"","Reversed paragraph sign":"","Rich Text Editor":"豐富文字編輯器","Rich Text Editor, %0":"豐富文字編輯器,%0",Ridge:"凸起線","Right aligned image":"向右對齊圖片","Right double quotation mark":"","Right single quotation mark":"","Right-pointing double angle quotation mark":"","rightwards arrow to bar":"向右停止箭頭","rightwards dashed arrow":"向右虛線箭頭","rightwards double arrow":"向右雙箭頭",Row:"列","Ruble sign":"","Rupee sign":"",Save:"儲存","Save changes":"儲存變更","Saving changes":"正在儲存變更","Section sign":"","Select all":"選取全部","Select column":"選擇欄","Select row":"選擇列","Show more items":"顯示更多","Show options":"顯示設定","Side image":"側邊圖片","Single left-pointing angle quotation mark":"","Single low-9 quotation mark":"","Single right-pointing angle quotation mark":"",Small:"小",Solid:"實線","soon with rightwards arrow above":"",Source:"原始碼","Special characters":"特殊字元","Spesmilo sign":"","Split cell horizontally":"水平分割儲存格","Split cell vertically":"垂直分割儲存格",Square:"方形","Square root":"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"刪除線",Style:"樣式",Subscript:"下標",Superscript:"上標","Table alignment toolbar":"表格對齊","Table cell text alignment":"儲存格文字對齊","Table properties":"表格屬性","Table toolbar":"表格工具","Tenge sign":"","Text alignment":"文字對齊","Text alignment toolbar":"文字對齊","Text alternative":"替代文字","Text highlight toolbar":"高亮","Text to find must not be empty.":"不能查找空字串",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'顏色代碼錯誤。試試看 "#FF0000" 或 "rgb(255, 0, 0)" 或 "red"。',"The URL must not be empty.":"網址不能空白。",'The value is invalid. Try "10px" or "2em" or simply "2".':'尺寸代碼錯誤。試試看 "10px" 或 "2em" 或簡單寫 "2"。',"There exists":"","This link has no URL":"連結沒有URL","This media URL is not supported.":"不支援此影音網址。","Tilde operator":"",Tiny:"特小","Tip: Find some text first in order to replace it.":"提示:先查找字串再取代","Tip: Paste the URL into the content to embed faster.":"提示:在內容貼上網址更快崁入。","To-do List":"代辦清單","Toggle caption off":"關閉表標題","Toggle caption on":"開啟表標題","Toggle the circle list style":"切換為空心圓點標示","Toggle the decimal list style":"切換為數字標示","Toggle the decimal with leading zero list style":"切換為0開頭的數字標示","Toggle the disc list style":"切換為實心圓點標示","Toggle the lower–latin list style":"切換為小寫拉丁文字標示","Toggle the lower–roman list style":"切換為小寫羅馬數字標示","Toggle the square list style":"切換為方形標示","Toggle the upper–latin list style":"切換為大寫拉丁文字標示","Toggle the upper–roman list style":"切換為大寫羅馬數字標示","top with upwards arrow above":"","Trade mark sign":"","Tugrik sign":"","Turkish lira sign":"",Turquoise:"藍綠色","Two dot leader":"",Underline:"底線",Undo:"取消",Union:"",Unlink:"移除連結","up down arrow with base":"",Update:"更新","Update image URL":"更新圖片連結","Upload failed":"上傳失敗","Upload in progress":"正在上傳","Upper-latin":"大寫拉丁字母","Upper-roman":"大寫羅馬數字","upwards arrow to bar":"向上停止箭頭","upwards dashed arrow":"向上虛線箭頭","upwards double arrow":"向上雙箭頭","Vertical text alignment toolbar":"垂直對齊","Vulgar fraction one half":"","Vulgar fraction one quarter":"","Vulgar fraction three quarters":"",White:"白色","Whole words only":"","Widget toolbar":"小工具",Width:"寬度","Won sign":"","Words: %0":"字數: %0","Wrap text":"",Yellow:"黃色","Yellow marker":"黃色標記","Yen sign":""}),e.getPluralForm=function(t){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -1,138 +1,174 @@
1
- import React, {useEffect, useState} from "react";
2
- import PropTypes from "prop-types";
3
- import styled, {createGlobalStyle } from "styled-components";
4
- import { CKEditor } from "@ckeditor/ckeditor5-react";
5
- import {Editor as CustomClassicEditor} from './build/ckeditor';
1
+ import React, { useEffect, useState } from "react";
2
+ import { auth, prefixFileUrlWithBackendUrl, request } from "@strapi/helper-plugin";
3
+ import styled, { createGlobalStyle } from "styled-components";
4
+
6
5
  import { Box } from "@strapi/design-system/Box";
7
- import { prefixFileUrlWithBackendUrl, request, auth } from '@strapi/helper-plugin';
6
+ import { CKEditor } from "@ckeditor/ckeditor5-react";
7
+ import { Editor as CustomClassicEditor } from "./build/ckeditor";
8
8
  import MediaLib from "../MediaLib";
9
- import pluginId from '../../pluginId';
10
- import defStyles from './styles'
9
+ import PropTypes from "prop-types";
10
+ import pluginId from "../../pluginId";
11
+ import styles from "./styles";
12
+ import theme from "./theme";
13
+
14
+ const EditorStyle = createGlobalStyle`
15
+ #fullscreeneditor {z-index: 4!important;}
16
+ ${styles}
17
+ ${({ strapiTheme }) => strapiTheme}
18
+ ${({ custom }) => custom}
11
19
 
12
- const EditorStyle = createGlobalStyle `
13
20
  .ck-editor__styled__container{
14
21
  position: relative;
15
22
  width:100%;
16
- ${({ styles }) => styles}
17
23
  }
18
- `
24
+ `;
19
25
  const Wrapper = styled(Box)``;
20
26
 
27
+ const Editor = ({ onChange, name, value, disabled }) => {
28
+ //####### strapi media lib connector #############################################################################################
29
+ const [mediaLibVisible, setMediaLibVisible] = useState(false);
30
+ const [editor, setEditor] = useState();
21
31
 
22
- const Editor = ({ onChange, name, value, disabled }) => {
23
-
24
- //####### strapi media lib connector #############################################################################################
25
- const [mediaLibVisible, setMediaLibVisible] = useState(false);
26
- const [editor, setEditor] = useState();
27
- const [uploadCfg, setUploadCfg] = useState();
28
- const toggleMediaLib = (editor) => {
29
- if (editor) {
30
- setEditor(editor);
31
- }
32
- setMediaLibVisible((prev) => !prev);
33
- };
34
- const handleChangeAssets = (assets) => {
35
- let newValue = value ? value : "";
36
- assets.map((asset) => {
37
- if (asset.mime.includes("image")) {
38
- if(uploadCfg?.responsiveDimensions){
39
- let set =''
40
- let keys = Object.keys(asset.formats)
41
- console.log(asset)
42
- keys?.map(k=>{
43
- let str = prefixFileUrlWithBackendUrl(asset.formats[k].url) + ` ${asset.formats[k].width}w,`
44
- set = set + str
45
- })
46
- const imgTag = `<figure><img src="${asset.url}" alt="${asset.alt}" srcset="${set}"></img></figure>`;
47
- newValue = `${newValue}${imgTag}`;
48
- }else{
49
- const imgTag = `<figure><img src="${asset.url}" alt="${asset.alt}"></img></figure>`;
50
- newValue = `${newValue}${imgTag}`;
51
- }
52
- }
53
- // Handle videos and other type of files by adding some code
54
- });
55
- onChange({ target: { name, value: newValue } });
56
- toggleMediaLib()
57
- };
58
-
59
- //####### config #############################################################################################
60
- const [config, setConfig] = useState();
61
- const [pluginCfg, setPluginCfg] = useState({styles:defStyles});
62
- const uploadUrl = `${prefixFileUrlWithBackendUrl('/upload')}`
63
- const headers = {Authorization: 'Bearer ' + auth.getToken(),}
64
- useEffect(() => {
65
- // load the editor config
66
- (async () => {
67
- const editor = await request(`/${pluginId}/config/editor`, { method: 'GET' });
68
- const plugin = await request(`/${pluginId}/config/plugin`, { method: 'GET' });
69
- const upload = await request(`/${pluginId}/config/uploadcfg`, { method: 'GET' });
70
-
71
- if(editor){
72
- setConfig({
73
- ...config,
74
- editor:{
75
- ...editor,
76
- strapiMediaLib:{
77
- onToggle: toggleMediaLib,
78
- label: 'Media library'
79
- },
80
- strapiUpload:{
81
- uploadUrl,
82
- headers,
83
- }
84
- }
85
- })
86
- }
87
- if(plugin){
88
- setPluginCfg({
89
- ...pluginCfg,
90
- ...plugin,
91
- })
92
- }
93
- if(upload){
94
- setUploadCfg({
95
- ...uploadCfg,
96
- ...upload,
97
- })
98
- }
99
- })();
100
-
101
- return () => {
102
- };
103
- }, []);
104
-
105
-
106
- //####### theme #############################################################################################
107
- useEffect(() => {
108
- const strapiTheme = localStorage.getItem('STRAPI_THEME');
109
- if (strapiTheme)
110
- document.documentElement.setAttribute('data-theme', strapiTheme)
111
- return () => {
32
+ const toggleMediaLib = (editor) => {
33
+ if (editor) {
34
+ setEditor(editor);
112
35
  }
113
- }, [])
36
+ setMediaLibVisible((prev) => !prev);
37
+ };
38
+
39
+ const handleChangeAssets = (assets) => {
40
+ let newValue = "";
41
+
42
+ assets.map((asset) => {
43
+ if (asset.mime.includes("image")) {
44
+ if (asset.formats && uploadCfg?.responsiveDimensions) {
45
+ let set = "";
46
+ let keys = Object.keys(asset.formats).sort((a, b) => {
47
+ return asset.formats[a].width - asset.formats[b].width;
48
+ });
49
+ keys.map((k) => {
50
+ let str = prefixFileUrlWithBackendUrl(asset.formats[k].url) + ` ${asset.formats[k].width}w,`;
51
+ set = set + str;
52
+ });
53
+ const imgTag = `<img src="${asset.url}" alt="${asset.alt}" srcset="${set}"></img>`;
54
+ newValue = `${newValue}${imgTag}`;
55
+ } else {
56
+ const imgTag = `<img src="${asset.url}" alt="${asset.alt}"></img>`;
57
+ newValue = `${newValue}${imgTag}`;
58
+ }
59
+ }
60
+ // Handle videos and other type of files by adding some code
61
+ });
62
+
63
+ const viewFragment = editor.data.processor.toView(newValue);
64
+ const modelFragment = editor.data.toModel(viewFragment);
65
+ editor.model.insertContent(modelFragment);
66
+
67
+ toggleMediaLib();
68
+ };
69
+
70
+ //####### config #############################################################################################
71
+ const [config, setConfig] = useState();
72
+ const [pluginCfg, setPluginCfg] = useState({});
73
+ const [uploadCfg, setUploadCfg] = useState();
74
+ const uploadUrl = `${prefixFileUrlWithBackendUrl("/upload")}`;
75
+ const headers = { Authorization: "Bearer " + auth.getToken() };
76
+ useEffect(() => {
77
+ // load the editor config
78
+ (async () => {
79
+ const editor = await request(`/${pluginId}/config/editor`, { method: "GET" });
80
+ const plugin = await request(`/${pluginId}/config/plugin`, { method: "GET" });
81
+ const upload = await request(`/${pluginId}/config/uploadcfg`, { method: "GET" });
82
+
83
+ //read i18n locale
84
+ const urlSearchParams = new URLSearchParams(window.location.search);
85
+ const params = Object.fromEntries(urlSearchParams.entries());
86
+ const languageContent = params["plugins[i18n][locale]"];
87
+
88
+ if (editor) {
89
+ //set locale language code to content
90
+ let language = editor.language;
91
+ if (languageContent) {
92
+ const countryCode = languageContent.split("-")[0]
93
+ if (countryCode && language)
94
+ language = {
95
+ content: language.content || countryCode,
96
+ ui: typeof language === "string" && language || language.ui || auth.getUserInfo().preferedLanguage,
97
+ textPartLanguage: language.textPartLanguage
98
+ }
99
+ }
100
+ setConfig({
101
+ ...config,
102
+ editor: {
103
+ ...editor,
104
+ language: language ? language : auth.getUserInfo().preferedLanguage,
105
+ strapiMediaLib: {
106
+ onToggle: toggleMediaLib,
107
+ label: "Media library",
108
+ },
109
+ strapiUpload: {
110
+ uploadUrl,
111
+ headers,
112
+ },
113
+ },
114
+ });
115
+
116
+ if (editor.language) {
117
+ if (editor.language.ui) {
118
+ import(/* webpackMode: "eager" */ `./build/translations/${editor.language.ui}.js`).catch(() => null);
119
+ }
120
+ if (editor.language.content) {
121
+ import(/* webpackMode: "eager" */ `./build/translations/${editor.language.content}.js`).catch(() => null);
122
+ }
123
+ if (typeof editor.language !== "object") {
124
+ import(/* webpackMode: "eager" */ `./build/translations/${editor.language}.js`).catch(() => null);
125
+ }
126
+ }
127
+ if (!editor.language) {
128
+ import(/* webpackMode: "eager" */ `./build/translations/${auth.getUserInfo().preferedLanguage}.js`).catch(() => null);
129
+ }
130
+ }
131
+ if (plugin) {
132
+ setPluginCfg({
133
+ ...pluginCfg,
134
+ ...plugin,
135
+ });
136
+ if (plugin.setAttribute !== false && localStorage.getItem("STRAPI_THEME")) {
137
+ document.documentElement.setAttribute("data-theme", localStorage.getItem("STRAPI_THEME"));
138
+ }
139
+ }
140
+ if (upload) {
141
+ setUploadCfg({
142
+ ...uploadCfg,
143
+ ...upload,
144
+ });
145
+ }
146
+ })();
147
+
148
+ return () => { };
149
+ }, []);
150
+
151
+ //###########################################################################################################
114
152
 
115
153
  return (
116
- <Wrapper className='ck-editor__styled__container'>
117
- <EditorStyle styles={pluginCfg.styles}/>
118
- {config &&
119
- <CKEditor
120
- editor={CustomClassicEditor}
121
- disabled={disabled}
122
- data={value || ""}
123
- onReady={(editor) => editor.setData(value || "")}
124
- onChange={(event, editor) => {
125
- const data = editor.getData();
126
- onChange({ target: { name, value: data } });
127
- }}
128
- config={config?.editor}
129
- />}
130
- <MediaLib
131
- isOpen={mediaLibVisible}
132
- onChange={handleChangeAssets}
133
- onToggle={toggleMediaLib}
134
- />
135
-
154
+ <Wrapper className="ck-editor__styled__container">
155
+ <EditorStyle custom={pluginCfg.styles} strapiTheme={pluginCfg.strapiTheme !== false ? theme : ""} />
156
+ {config && (
157
+ <CKEditor
158
+ editor={CustomClassicEditor}
159
+ disabled={disabled}
160
+ data={value || ""}
161
+ onReady={(editor) => editor.setData(value || "")}
162
+ onChange={(event, editor) => {
163
+ const data = editor.getData();
164
+ onChange({ target: { name, value: data } });
165
+ }}
166
+ config={config?.editor}
167
+ />
168
+ )}
169
+ <div style={{zIndex:5}}>
170
+ <MediaLib isOpen={mediaLibVisible} onChange={handleChangeAssets} onToggle={toggleMediaLib} />
171
+ </div>
136
172
  </Wrapper>
137
173
  );
138
174
  };
@@ -149,4 +185,4 @@ Editor.propTypes = {
149
185
  disabled: PropTypes.bool,
150
186
  };
151
187
 
152
- export default Editor;
188
+ export default Editor;
@@ -1,10 +1,9 @@
1
1
  const styles = `
2
-
3
2
  .ck-editor__main {
4
- --ck-font-face:"Source Sans Pro",system-ui,Roboto,"Helvetica Neue","Helvetica",Arial,sans-serif;
5
- min-height: ${200 / 16}em;
6
- color:var(--ck-color-editor-base-text);
7
- font-family:var(--ck-font-face);
3
+ --ck-font-face:"Source Sans Pro",system-ui,Roboto,"Helvetica Neue","Helvetica",Arial,sans-serif;
4
+ min-height: ${200 / 16}em;
5
+ color:var(--ck-color-editor-base-text);
6
+ font-family:var(--ck-font-face);
8
7
  > div {
9
8
  min-height: ${200 / 16}em;
10
9
  }
@@ -29,22 +28,23 @@ const styles = `
29
28
  margin:revert;
30
29
  font-family:revert;
31
30
  }
32
- h1, .ck-heading_h1_b {
33
- font-size: 2.36em;
34
- line-height: 1.33em;
31
+ h1 {
32
+ font-size: 2em;
33
+ line-height: 2em;
35
34
  padding-top: 1em;
36
- margin-bottom: 1.67em;
35
+ margin-bottom: 0.6em;
37
36
  font-weight: 400;
37
+ border-bottom: 1px solid #e9e9e9;
38
38
  }
39
- h2, .ck-heading_h2_b {
39
+ h2 {
40
40
  font-size: 1.68em;
41
41
  line-height: 1.68em;
42
42
  padding-top: 0.8em;
43
43
  margin-bottom: 0.4em;
44
- padding-bottom: 0.2em;
45
44
  font-weight: 400;
45
+ border-bottom: 1px solid #e9e9e9;
46
46
  }
47
- h3, .ck-heading_h3_b{
47
+ h3 {
48
48
  font-size: 1.36em;
49
49
  line-height: 1.5em;
50
50
  padding-top: 0.8em;
@@ -64,9 +64,6 @@ const styles = `
64
64
  padding-top: 0.2em;
65
65
  margin-bottom: 0.8em;
66
66
  }
67
- .ck-heading_h1_b, h2.ck-heading_h2_b, .ck-heading_h3_b{
68
- border-bottom: 1px solid #e9e9e9;
69
- }
70
67
  figcaption{
71
68
  background-color: var(--ck-color-image-caption-background);
72
69
  caption-side: bottom;
@@ -105,7 +102,6 @@ const styles = `
105
102
  * Generated on Wed, 27 Apr 2022 06:51:54 GMT.
106
103
  * For more information, check out https://ckeditor.com/docs/ckeditor5/latest/installation/advanced/content-styles.html
107
104
  */
108
-
109
105
  :root {
110
106
  --ck-color-image-caption-background: hsl(0, 0%, 97%);
111
107
  --ck-color-image-caption-text: hsl(0, 0%, 20%);
@@ -123,9 +119,6 @@ const styles = `
123
119
  --ck-inline-image-style-spacing: calc(var(--ck-image-style-spacing) / 2);
124
120
  --ck-todo-list-checkmark-size: 16px;
125
121
  }
126
-
127
- .ck.ck-sticky-panel .ck-sticky-panel__content_sticky{ top:64px }
128
-
129
122
  /* ckeditor5-block-quote/theme/blockquote.css */
130
123
  .ck-content blockquote {
131
124
  overflow: hidden;