Added config for FontAwesome icons used by EasyMDE in the builder
This commit is contained in:
parent
7c1c410443
commit
959d3729dc
|
@ -87,7 +87,7 @@
|
||||||
border-color: var(--spectrum-global-color-gray-400);
|
border-color: var(--spectrum-global-color-gray-400);
|
||||||
}
|
}
|
||||||
/* Toolbar button color */
|
/* Toolbar button color */
|
||||||
:global(.EasyMDEContainer .editor-toolbar button i) {
|
:global(.EasyMDEContainer .editor-toolbar button) {
|
||||||
color: var(--spectrum-global-color-gray-800);
|
color: var(--spectrum-global-color-gray-800);
|
||||||
}
|
}
|
||||||
/* Separator between toolbar buttons*/
|
/* Separator between toolbar buttons*/
|
||||||
|
|
|
@ -9,6 +9,18 @@
|
||||||
faFileArrowUp,
|
faFileArrowUp,
|
||||||
faChevronLeft,
|
faChevronLeft,
|
||||||
faCircleInfo,
|
faCircleInfo,
|
||||||
|
faBold,
|
||||||
|
faItalic,
|
||||||
|
faHeading,
|
||||||
|
faQuoteLeft,
|
||||||
|
faListUl,
|
||||||
|
faListOl,
|
||||||
|
faLink,
|
||||||
|
faImage,
|
||||||
|
faEye,
|
||||||
|
faColumns,
|
||||||
|
faArrowsAlt,
|
||||||
|
faQuestionCircle,
|
||||||
} from "@fortawesome/free-solid-svg-icons"
|
} from "@fortawesome/free-solid-svg-icons"
|
||||||
import { faGithub, faDiscord } from "@fortawesome/free-brands-svg-icons"
|
import { faGithub, faDiscord } from "@fortawesome/free-brands-svg-icons"
|
||||||
|
|
||||||
|
@ -22,7 +34,22 @@
|
||||||
faEnvelope,
|
faEnvelope,
|
||||||
faFileArrowUp,
|
faFileArrowUp,
|
||||||
faChevronLeft,
|
faChevronLeft,
|
||||||
faCircleInfo
|
faCircleInfo,
|
||||||
|
|
||||||
|
// -- Required for easyMDE use in the builder.
|
||||||
|
faBold,
|
||||||
|
faItalic,
|
||||||
|
faHeading,
|
||||||
|
faQuoteLeft,
|
||||||
|
faListUl,
|
||||||
|
faListOl,
|
||||||
|
faLink,
|
||||||
|
faImage,
|
||||||
|
faEye,
|
||||||
|
faColumns,
|
||||||
|
faArrowsAlt,
|
||||||
|
faQuestionCircle
|
||||||
|
// --
|
||||||
)
|
)
|
||||||
dom.watch()
|
dom.watch()
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue