Project

General

Profile

« Previous | Next » 

Revision 50246

added editor

View differences:

adminPg-help-texts.component.html
10 10
        <div class="alert alert-success" style="display:none;" aria-hidden="true"></div>
11 11
        <div class="alert alert-warning" style="display:none;" aria-hidden="true"></div>
12 12
        <div>
13
          <form target="GWTBootstrap3_AbstractForm_RepositoryManager_2" role="form">
13
          <!--<form target="GWTBootstrap3_AbstractForm_RepositoryManager_2" role="form">-->
14 14
            <div class="form-group">
15 15
              <label class="control-label">Select help item</label>
16 16
              <select class="form-control">
......
19 19
            </div>
20 20
            <div class="form-group">
21 21
              <label class="control-label">Edit help text</label>
22
              <div id="editor"></div>
22
              <ckeditor
23
                        [(ngModel)]="ckeditorContent"
24
                        [readonly]="false"
25
                        (change)="onChange($event)"
26
                        debounce="500" ></ckeditor>
23 27
            </div>
24
          </form>
28
          <!--</form>-->
25 29
          <script src="/ace-builds/src-noconflict/ace.js" type="text/javascript" charset="utf-8"></script>
26 30
          <script>
27 31
            var editor = ace.edit("editor");

Also available in: Unified diff