Worked on passing styles to the editor component but ran into some limitations of svelte. The workaround is to add a global marker to the styling and assign an id to the component element:
:global(#test > em, #test > strong, #test > code) {
padding: 2px 5px;
border-radius: 5px;
background-color: black;
}
Kinda strange way to do it, but the only other way to get around this is to make the component an action so it can attach to an element defined by the parent.