Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can i toolbar button icon change? #380

Open
BearHumanS opened this issue Sep 21, 2023 · 0 comments
Open

how can i toolbar button icon change? #380

BearHumanS opened this issue Sep 21, 2023 · 0 comments

Comments

@BearHumanS
Copy link

ex. bold button icon >> react icons font awesome 6 FaCss3Alt

const config = {
  
   toolbarButtons: {
     moreText: {
       buttons: [
         "bold",
         "italic",
         "underline",
         "strikeThrough",
         "subscript",
         "superscript",
         "fontFamily",
         "fontSize",
         "textColor",
         "backgroundColor",
         "inlineClass",
         "inlineStyle",
         "clearFormatting",
       ],
     },
     moreParagraph: {
       buttons: [
         "alignLeft",
         "alignCenter",
         "alignRight",
         "formatOLSimple",
         "alignJustify",
         "formatOL",
         "formatUL",
         "paragraphFormat",
         "paragraphStyle",
         "lineHeight",
         "outdent",
         "indent",
         "quote",
       ],
     },
     moreRich: {
       buttons: [
         "insertLink",
         "insertImage",
         "insertVideo",
         "insertTable",
         "emoticons",
         "fontAwesome",
         "specialCharacters",
         "embedly",
         "insertFile",
         "insertHR",
       ],
     },

     moreMisc: {
       buttons: [
         "undo",
         "redo",
         "fullscreen",
         "print",
         "getPDF",
         "spellChecker",
         "selectAll",
         "html",
         "help",
       ],
     },
   },
   imageAllowedTypes: ["jpeg", "jpg", "png"],

   height: "434",
   width: "100%",
   quickInsertEnabled: false,
   videoInsertButtons: ["videoBack", "|", "videoByURL", "videoUpload"],
   paragraphFormat: {
     N: "Normal",
     heading1: "Heading 1",
     H2: "Heading 2",
   },
 };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant