We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1101bb2 commit c43af81Copy full SHA for c43af81
1 file changed
src/components/BootstrapBlazor.SummerNote/Components/Editor/Editor.razor.js
@@ -225,6 +225,12 @@ export function dispose(id) {
225
}
226
227
228
+const createImage = file => {
229
+ const element = document.createElement('img');
230
+ element.src = URL.createObjectURL(file);
231
+ return element;
232
+}
233
+
234
const offEvent = eventEl => {
235
if (eventEl) {
236
EventHandler.off(eventEl, 'click')
0 commit comments