<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                如果你想在`angular.js`的項目中使用`wangEditor`,以下是一個集成示例。也可參見 https://github.com/wangfupeng1988/wangEditor/blob/master/test/angular/test-angular.html 的代碼。 ```html <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>angular test</title> <style type="text/css"> #editor-trigger { width: 100%; height: 200px; } </style> <link rel="stylesheet" type="text/css" href="../../dist/css/wangEditor.min.css"> <script src="http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js"></script> </head> <body> <div ng-app="editorContainer" ng-controller="editorCtrl"> <p>wangEditor 集成到 angular 的示例</p> <div id="editor-trigger" ng-model="editorContent" contenteditable="true"> </div> <hr> <p><b>以下是編輯器的內容:</b></p> <p ng-bind="editorContent"></p> </div> <script type="text/javascript" src="../../dist/js/lib/jquery-1.10.2.min.js"></script> <script type="text/javascript" src="../../dist/js/wangEditor.js"></script> <script type="text/javascript"> var app = angular.module('editorContainer', []); app.controller('editorCtrl', function ($scope) { $scope.editorContent = ''; }); app.directive('contenteditable', function() { return { restrict: 'A' , require: 'ngModel', link: function(scope, element, attrs, ctrl) { // 創建編輯器 var editor = new wangEditor('editor-trigger'); editor.onchange = function () { // 從 onchange 函數中更新數據 scope.$apply(function () { var html = editor.$txt.html(); ctrl.$setViewValue(html); }); }; editor.create(); } }; }); </script> </body> </html> ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看