@brightspace-ui/htmleditor
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -306,8 +306,7 @@ import '@brightspace-ui/core/components/alert/alert.js'; | ||
const span = editor.getDoc().createElement('span'); | ||
span.className = 'd2lmention'; | ||
span.textContent = `@${userinfo.name}`; | ||
span.setAttribute('data-d2l-mentions-id', userinfo.id); | ||
span.setAttribute('data-mentions-id', userinfo.id); | ||
return span; | ||
}, | ||
mentions_selector: 'span.d2lmention', | ||
mentions_selector: 'span[data-mentions-id]', | ||
object_resizing : true, | ||
@@ -314,0 +313,0 @@ plugins: `a11ychecker ${this.autoSave ? 'autosave' : ''} advtable charmap advcode directionality emoticons ${this.fullPage ? 'fullpage' : ''} fullscreen hr image ${this.pasteLocalImages ? 'imagetools' : ''} lists ${(this.mentions && D2L.LP) ? 'mentions' : ''} powerpaste ${D2L.LP ? 'd2l-preview' : 'preview'} table textpattern d2l-equation d2l-image d2l-isf d2l-quicklink d2l-wordcount`, |
{ | ||
"name": "@brightspace-ui/htmleditor", | ||
"description": "An HTML editor that integrates with Brightspace", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"repository": "https://github.com/BrightspaceUI/htmleditor.git", | ||
@@ -6,0 +6,0 @@ "publishConfig": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3478835
49882