Skip to content

Commit

Permalink
Implement GPL licence for CKEditor
Browse files Browse the repository at this point in the history
  • Loading branch information
TehWazzard committed Jan 27, 2025
1 parent 9f604b6 commit ddb1635
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app/base-skill-form/base-skill-form.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
name="description"
id="description"
[ngModel]="baseSkill && baseSkill.description ? baseSkill.description.text : ''"
[config]="editorConfig"
></ckeditor>
</div>
<div class="col-3">&nbsp;</div>
Expand Down
3 changes: 3 additions & 0 deletions src/app/base-skill-form/base-skill-form.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ export class BaseSkillFormComponent extends WsComponent implements OnInit {
baseSectors: Array<BaseSector>;
loading = false;
editor = ClassicEditor;
editorConfig = {
licenseKey: 'GPL'
}

constructor(private baseSectorsService: BaseSectorsService) {
super();
Expand Down
1 change: 1 addition & 0 deletions src/app/skill-form/skill-form.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@
id="description"
[ngModel]="skill ? skill.description.text : ''"
[disabled]="!editable && !organizerEditable"
[config]="editorConfig"
></ckeditor>
</div>
<div class="col-3">&nbsp;</div>
Expand Down
3 changes: 3 additions & 0 deletions src/app/skill-form/skill-form.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ export class SkillFormComponent extends WsComponent implements OnInit, OnChanges
@ViewChild('form') form: NgForm;
loading = false;
editor = ClassicEditor;
editorConfig = {
licenseKey: 'GPL'
}

skillName: I18nText;

Expand Down

0 comments on commit ddb1635

Please sign in to comment.