Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
59966c7c
Commit
59966c7c
authored
Nov 08, 2018
by
Junling Bu
Browse files
fix[litemall-admin]: 富文本编辑器调整,解决小程序文本不能居中问题
parent
c87ef4fa
Changes
3
Hide whitespace changes
Inline
Side-by-side
litemall-admin/src/views/goods/create.vue
View file @
59966c7c
...
...
@@ -331,8 +331,8 @@
editorInit
:
{
language
:
'
zh_CN
'
,
convert_urls
:
false
,
plugins
:
[
'
advlist anchor autolink auto
resize autosave
emoticons fullscreen hr image imagetools importcss insertdatetime
legacyoutput
link lists media nonbreaking noneditable pagebreak paste preview print save searchreplace tabfocus table template textcolor textpattern visualblocks visualchars wordcount
'
],
toolbar
:
[
'
bold italic underline strikethrough alignleft aligncenter alignright outdent indent blockquote undo redo removeformat subscript superscript
'
,
'
hr bullist numlist link image charmap preview anchor pagebreak
fullscreen
media table emoticons forecolor backcolor
'
],
plugins
:
[
'
advlist anchor autolink auto
save code codesample colorpicker colorpicker contextmenu directionality
emoticons fullscreen hr image imagetools importcss insertdatetime link lists media nonbreaking noneditable pagebreak paste preview print save searchreplace
spellchecker
tabfocus table template textcolor textpattern visualblocks visualchars wordcount
'
],
toolbar
:
[
'
searchreplace
bold italic underline strikethrough alignleft aligncenter alignright outdent indent blockquote undo redo removeformat subscript superscript
code codesample
'
,
'
hr bullist numlist link image charmap preview anchor pagebreak
insertdatetime
media table emoticons forecolor backcolor
fullscreen
'
],
images_upload_handler
:
function
(
blobInfo
,
success
,
failure
)
{
const
formData
=
new
FormData
()
formData
.
append
(
'
file
'
,
blobInfo
.
blob
())
...
...
litemall-admin/src/views/goods/edit.vue
View file @
59966c7c
...
...
@@ -306,8 +306,8 @@ export default {
editorInit
:
{
language
:
'
zh_CN
'
,
convert_urls
:
false
,
plugins
:
[
'
advlist anchor autolink auto
resize autosave
emoticons fullscreen hr image imagetools importcss insertdatetime
legacyoutput
link lists media nonbreaking noneditable pagebreak paste preview print save searchreplace tabfocus table template textcolor textpattern visualblocks visualchars wordcount
'
],
toolbar
:
[
'
bold italic underline strikethrough alignleft aligncenter alignright outdent indent blockquote undo redo removeformat subscript superscript
'
,
'
hr bullist numlist link image charmap preview anchor pagebreak
fullscreen
media table emoticons forecolor backcolor
'
],
plugins
:
[
'
advlist anchor autolink auto
save code codesample colorpicker colorpicker contextmenu directionality
emoticons fullscreen hr image imagetools importcss insertdatetime link lists media nonbreaking noneditable pagebreak paste preview print save searchreplace
spellchecker
tabfocus table template textcolor textpattern visualblocks visualchars wordcount
'
],
toolbar
:
[
'
searchreplace
bold italic underline strikethrough alignleft aligncenter alignright outdent indent blockquote undo redo removeformat subscript superscript
code codesample
'
,
'
hr bullist numlist link image charmap preview anchor pagebreak
insertdatetime
media table emoticons forecolor backcolor
fullscreen
'
],
images_upload_handler
:
function
(
blobInfo
,
success
,
failure
)
{
const
formData
=
new
FormData
()
formData
.
append
(
'
file
'
,
blobInfo
.
blob
())
...
...
litemall-admin/src/views/promotion/topic.vue
View file @
59966c7c
...
...
@@ -182,8 +182,8 @@ export default {
editorInit
:
{
language
:
'
zh_CN
'
,
convert_urls
:
false
,
plugins
:
[
'
advlist anchor autolink
autoresize
autosave code codesample colorpicker colorpicker contextmenu directionality emoticons fullscreen hr image imagetools importcss insertdatetime
legacyoutput
link lists media nonbreaking noneditable pagebreak paste preview print save searchreplace tabfocus table template textcolor textpattern visualblocks visualchars wordcount
'
],
toolbar
:
[
'
bold italic underline strikethrough alignleft aligncenter alignright outdent indent blockquote undo redo removeformat subscript superscript
'
,
'
hr bullist numlist link image charmap preview anchor pagebreak
fullscreen
media table emoticons forecolor backcolor
'
],
plugins
:
[
'
advlist anchor autolink autosave code codesample colorpicker colorpicker contextmenu directionality emoticons fullscreen hr image imagetools importcss insertdatetime link lists media nonbreaking noneditable pagebreak paste preview print save searchreplace
spellchecker
tabfocus table template textcolor textpattern visualblocks visualchars wordcount
'
],
toolbar
:
[
'
searchreplace
bold italic underline strikethrough alignleft aligncenter alignright outdent indent blockquote undo redo removeformat subscript superscript
code codesample
'
,
'
hr bullist numlist link image charmap preview anchor pagebreak
insertdatetime
media table emoticons forecolor backcolor
fullscreen
'
],
images_upload_handler
:
function
(
blobInfo
,
success
,
failure
)
{
const
formData
=
new
FormData
()
formData
.
append
(
'
file
'
,
blobInfo
.
blob
())
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment