Open Luiz-Otavio-Dorigon opened 4 years ago
Even we are facing the same issue, How to resolve this?
Any updates on this issue?
@blaise2s @shanthan-arepuri did you manage to fix this?
1 year later no response 🤦♂️
no need to include image_tui.min.js
pluginsEnabled:["filesManager","file","image","video","imageTUI"],
In AppModule
import 'froala-editor/js/plugins.pkgd.min.js';
import 'froala-editor/js/third_party/image_tui.min.js';
import {FroalaEditorModule, FroalaViewModule} from 'angular-froala-wysiwyg';
@NgModule({
imports: [
FroalaEditorModule.forRoot(),
FroalaViewModule.forRoot(),
]
})
In angular.json
"styles: ["
"node_modules/froala-editor/css/froala_editor.pkgd.min.css",
"node_modules/froala-editor/css/froala_style.min.css",
"node_modules/froala-editor/css/third_party/image_tui.min.css"
],
"scripts": [
"node_modules/froala-editor/js/third_party/image_tui.min.js"
]
In index.html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tui-image-editor@3.2.2/dist/tui-image-editor.css">
<link rel="stylesheet" href="https://uicdn.toast.com/tui-color-picker/latest/tui-color-picker.css">
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/fabric.js/1.6.7/fabric.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/tui-code-snippet@1.4.0/dist/tui-code-snippet.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/tui-image-editor@3.2.2/dist/tui-image-editor.min.js"></script>
When using the component the following happens:
How do I resolve this?