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
1c7e3713
Unverified
Commit
1c7e3713
authored
Nov 30, 2018
by
Scott
Committed by
GitHub
Nov 30, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #658 from pupi1985/patch-110
Remove essential CKEditor configuration from config.js file
parents
7a5373aa
8c0a63cc
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 @
1c7e3713
...
...
@@ -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 @
1c7e3713
...
...
@@ -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