diff options
author | Steve Manuel <nilslice@gmail.com> | 2018-08-19 21:14:52 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-19 21:14:52 -0600 |
commit | 52226ad2351dd2d3bd4191c1d9cb7cc43939a8d7 (patch) | |
tree | 894ce306d79dbfd6d950d8bac852d1350d2b6e04 /management/editor | |
parent | 83d740d8437d6cd55ad5ac8e3a293221c24260df (diff) |
admin richtext updates, uuid package migration (#269)
* update CI code to run --dev if on ponzu-dev branch
* CI: ensure we have latest from ponzu-dev branch
* Replaced satori/go.uuid with gofrs/uuid. (#268)
* Changed files to use new uuid pkg.
* Replace satori/go.uuid with gofrs/uuid. Closes #257.
* Deleted satori/go.uuid folder. Closes #257.
* Added heading styles and table to richtext toolbar. (#267)
Closes #207.
* Override Cobra's 'help' command to remove duplicate. (#266)
Closes #206.
Diffstat (limited to 'management/editor')
-rw-r--r-- | management/editor/elements.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/management/editor/elements.go b/management/editor/elements.go index 2dfab40..b279fa9 100644 --- a/management/editor/elements.go +++ b/management/editor/elements.go @@ -261,12 +261,13 @@ func Richtext(fieldName string, p interface{}, attrs map[string]string) []byte { height: 250, placeholder: '` + attrs["placeholder"] + `', toolbar: [ - ['style', ['bold', 'italic', 'underline', 'clear']], - ['font', ['strikethrough', 'superscript', 'subscript']], + ['style', ['style']], + ['font', ['bold', 'italic', 'underline', 'clear', 'strikethrough', 'superscript', 'subscript']], ['fontsize', ['fontsize']], ['color', ['color']], ['insert', ['link', 'picture', 'video', 'hr']], ['para', ['ul', 'ol', 'paragraph']], + ['table', ['table']], ['height', ['height']], ['misc', ['codeview']] ], |