added words to cspell ignore words list, removed mywords.txt

This commit is contained in:
devcer
2022-10-15 19:43:07 +05:30
parent adf7702211
commit 478c387491
46 changed files with 114 additions and 110 deletions

View File

@@ -2,7 +2,7 @@
export const id = 'example-diagram';
/**
* Detector function that will be called by mermaid to determine if the diagram is this type of digram.
* Detector function that will be called by mermaid to determine if the diagram is this type of diagram.
*
* @param txt The diagram text will be passed to the detector
* @returns True if the diagram text matches a diagram of this type

View File

@@ -16,7 +16,7 @@ export const draw = (text, id, version) => {
log.debug('Rendering example diagram\n' + text, 'Conf: ');
const THEME_COLOR_LIMIT = getConfig().themeVariables.THEME_COLOR_LIMIT;
const securityLevel = getConfig().securityLevel;
// Handle root and Document for when rendering in sanbox mode
// Handle root and Document for when rendering in sandbox mode
let sandboxElement;
if (securityLevel === 'sandbox') {
sandboxElement = select('#i' + id);