angularjs1 froalaEditor angular-froala 提示错误

element.froalaEditor is not a function

代码
<textarea froala="froalaOptions" ng-model="myHtml"></textarea>
function myCtrl($scope){

$scope.myHtml = "<h1>Hello World</h1>"
$scope.froalaOptions = {
    toolbarButtons : ["bold", "italic", "underline", "|", "align", "formatOL", "formatUL"]
}
阅读 3.1k
2 个回答

关键代码贴出来

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题