Alex York
Alex York

Reputation: 425

Froala Editor doesn't work

I use froala editor first time and now I have problems. On the first page froala works very good, but on the second page - editor doesn't work. When I click on toolbar buttons I have noting. Text length always equals zero and placeholder doesn't hide. Please Help me to fix this problem.

<script src="/public/bower_components/froala-wysiwyg-editor/js/froala_editor.pkgd.min.js"></script>

And.

$("#page_x2j1").froalaEditor();

Upvotes: 1

Views: 2361

Answers (2)

John Laugerman
John Laugerman

Reputation: 36

I ended up using this reference to do the initialization on load and everything worked great.

$.getScript("js/froala_editor.pkgd.min.js", function () {

Upvotes: 1

st3fan
st3fan

Reputation: 1640

It looks like there might be a conflict with something else on the page. It would worth checking if there aren't other JS libraries which are preventing the editor editor toolbar to work correctly.

Upvotes: 0

Related Questions