Embarking on a project with Froala editor and Angular 1, I meticulously followed the documentation to show the insertImage
button and insertTable
, but they are not appearing. Here is my code:
var tb = ["bold", "italic", "insertTable", "insertImage"];
$scope.froalaOptions = {
toolbarButtons: tb,
toolbarButtonsMD: tb,
toolbarButtonsSM: tb,
toolbarButtonsXS: tb
};
This is what my output looks like:
https://i.stack.imgur.com/Th4Gh.png
I have also included the necessary plugins JS & CSS :
<script src="bower_components/froala-wysiwyg-editor/js/plugins/image.min.js"></script>
<script src="bower_components/froala-wysiwyg-editor/js/plugins/table.min.js"></script>
<link type="text/css" rel="stylesheet" href="bower_components/froala-wysiwyg-editor/css/plugins/image.min.css">
<link type="text/css" rel="stylesheet" href="bower_components/froala-wysiwyg-editor/css/plugins/table.min.css">
Despite this, nothing seems to be happening. Any suggestions as to why?