Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
8c0a63cc
Commit
8c0a63cc
authored
Aug 16, 2018
by
pupi1985
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove essential CKEditor configuration from config.js file
parent
40f15d44
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
3 deletions
+1
-3
config.js
qa-plugin/wysiwyg-editor/ckeditor/config.js
+0
-3
qa-wysiwyg-editor.php
qa-plugin/wysiwyg-editor/qa-wysiwyg-editor.php
+1
-0
No files found.
qa-plugin/wysiwyg-editor/ckeditor/config.js
View file @
8c0a63cc
...
...
@@ -27,9 +27,6 @@ CKEDITOR.editorConfig = function( config ) {
// Make dialogs simpler
config
.
removeDialogTabs
=
'image:advanced;link:advanced;table:advanced'
;
// Use form upload instead of XHR
config
.
filebrowserUploadMethod
=
'form'
;
// Use native spell checking (note: Ctrl+right-click is required for native context menu)
config
.
disableNativeSpellChecker
=
false
;
...
...
qa-plugin/wysiwyg-editor/qa-wysiwyg-editor.php
View file @
8c0a63cc
...
...
@@ -170,6 +170,7 @@ class qa_wysiwyg_editor
// File uploads
(
$uploadimages
?
" filebrowserImageUploadUrl:
$imageUploadUrl
,"
:
""
),
(
$uploadall
?
" filebrowserUploadUrl:
$fileUploadUrl
,"
:
""
),
" filebrowserUploadMethod: 'form',"
,
// Use form upload instead of XHR
// Set language to Q2A site language, falling back to English if not available.
" defaultLanguage: 'en',"
,
...
...
Write
Preview
Markdown
is supported
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