drop as-prefix for ICreateCellInfo

This commit is contained in:
Johannes Rieken
2021-05-21 17:30:29 +02:00
parent 82cd4f027a
commit effac5be7f
2 changed files with 15 additions and 15 deletions

View File

@@ -11,8 +11,8 @@ export function activate() {
});
return {
renderCell: (_id: string, context: { element: HTMLElement, value: string, asText(): string }) => {
const rendered = markdownIt.render(context.value || context.asText()); // todo@jrieken remove .value-usage
renderCell: (_id: string, context: { element: HTMLElement, value: string, text(): string }) => {
const rendered = markdownIt.render(context.value || context.text()); // todo@jrieken remove .value-usage
context.element.innerHTML = rendered;
// Insert styles into markdown preview shadow dom so that they are applied