tinymce / tinymce-blazor

Blazor integration
MIT License
45 stars 14 forks source link

Errors on 0.0.6 #17

Closed michalss closed 3 years ago

michalss commented 3 years ago

Hi,

Trying to use it on wasm, but getting errors :

rit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: Could not find 'tinymceBlazorWrapper.init' ('tinymceBlazorWrapper' was undefined). Error: Could not find 'tinymceBlazorWrapper.init' ('tinymceBlazorWrapper' was undefined). at https://localhost:5001/_framework/blazor.webassembly.js:1:1287 at Array.forEach (<anonymous>) at e.findFunction (https://localhost:5001/_framework/blazor.webassembly.js:1:1247) at b (https://localhost:5001/_framework/blazor.webassembly.js:1:2989) at https://localhost:5001/_framework/blazor.webassembly.js:1:3935 at new Promise (<anonymous>) at Object.beginInvokeJSFromDotNet (https://localhost:5001/_framework/blazor.webassembly.js:1:3908) at Object.w [as invokeJSFromDotNet] (https://localhost:5001/_framework/blazor.webassembly.js:1:64218) at _mono_wasm_invoke_js_blazor (https://localhost:5001/_framework/dotnet.6.0.0-preview.3.21201.4.js:1:190800) at do_icall (<anonymous>:wasm-function[10596]:0x194e4e) Microsoft.JSInterop.JSException: Could not find 'tinymceBlazorWrapper.init' ('tinymceBlazorWrapper' was undefined). Error: Could not find 'tinymceBlazorWrapper.init' ('tinymceBlazorWrapper' was undefined). at https://localhost:5001/_framework/blazor.webassembly.js:1:1287 at Array.forEach (<anonymous>) at e.findFunction (https://localhost:5001/_framework/blazor.webassembly.js:1:1247) at b (https://localhost:5001/_framework/blazor.webassembly.js:1:2989) at https://localhost:5001/_framework/blazor.webassembly.js:1:3935 at new Promise (<anonymous>) at Object.beginInvokeJSFromDotNet (https://localhost:5001/_framework/blazor.webassembly.js:1:3908) at Object.w [as invokeJSFromDotNet] (https://localhost:5001/_framework/blazor.webassembly.js:1:64218) at _mono_wasm_invoke_js_blazor (https://localhost:5001/_framework/dotnet.6.0.0-preview.3.21201.4.js:1:190800) at do_icall (<anonymous>:wasm-function[10596]:0x194e4e) at Microsoft.JSInterop.JSRuntime.<InvokeAsync>d__151[[System.Object, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext() at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args) at TinyMCE.Blazor.Editor.OnAfterRenderAsync(Boolean firstRender) at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle)`

exalate-issue-sync[bot] commented 3 years ago

Ref: INT-2553