async function addToolTips(text, excludedType) {

        const TOOL_TIP_HTML = '<a href="LINK" class="docs-tooltip" data-tippy-content="DEFINITION">TYPE_LABEL</a>'
        const LINK_ONLY_HTML = '<a href="LINK" class="docs-link">TYPE_LABEL<span class="docs-tooltiptext"></span></a>'

        let resultingText = ''

        text = tagDefinedTypes(text, excludedType)
        let splittedText = text.split(TAGGING_STRING_SEPARATOR)

        for (let i = 0; i < splittedText.length; i = i + 2) {
            let firstPart = splittedText[i]
            let taggedText = splittedText[i + 1]
            
            if (taggedText === undefined) {
                return resultingText + firstPart
            }
            
            let splittedTaggedText = taggedText.split('|')
            let category = splittedTaggedText[0]
            let type = splittedTaggedText[1]
            let project = splittedTaggedText[2]
            
            /*
             We will search across all DOC SCHEMAS
             */
            let found = false
            let docsSchemaDocument
            const mapType = ED.schemas.schemaTypes.filter(s => s.category == category).map(s => s.key)[0]
            for (let j = 0; j < PROJECTS_SCHEMA.length; j++) {
                project = PROJECTS_SCHEMA[j].name
                docsSchemaDocument = SCHEMAS_BY_PROJECT.get(project).map[mapType].get(type)
                if (docsSchemaDocument !== undefined) {
                    found = true
                    break
                }
            }
            if (found === false) {
                return text
            }

            let definition = getTextBasedOnLanguage(docsSchemaDocument.definition)
            let link = normaliseInternalLink([project, category, normaliseStringForLink(type)])
            if (definition === undefined || definition === "") {
                let tooltip = LINK_ONLY_HTML
                    .replace('LINK', link)
                    .replace('TYPE_LABEL', type)

                resultingText = resultingText + firstPart + tooltip
            } else {
                let tooltip = TOOL_TIP_HTML
                    .replace('LINK', link)
                    .replace('TYPE_LABEL', type)
                    .replace('DEFINITION', definition)

                resultingText = resultingText + firstPart + tooltip
            }
        }
        return resultingText
    }
@param {string} text 
@param {string} excludedType 
@returns {Promise<string>}