Comments (9)
look at ckeditor config for it and then map it to the Python dictionary that django-ckeditor uses.
from django-ckeditor.
thank you for reply.
but don't corrected!
I use of django-ckeditor-updated.
Can you give me config for full feature toolbar in django settings here?
from django-ckeditor.
CKEDITOR_CONFIGS = {
'default': {
'toolbar': 'Full',
'height': 300,
'width': 300,
},
}
This is the full config.
from django-ckeditor.
No,/
I tested this config,but I don't see justify button or flash or copy to word or direction...
this is not work!
from django-ckeditor.
Then look into ckeditor documentation on how to enable them. This "default" config maps to what will be passed to the ckeditor instance. I didn't used all the fancy ckeditor features ;)
from django-ckeditor.
please say to me how to add pre,direction,justify?
These not in my toolbar
from django-ckeditor.
Hello, I have a similar problem as the OP. This is my configuration in settings.py
:
CKEDITOR_CONFIGS = {
None: {
'toolbar': [
[ 'Link','Unlink' ],
[ 'Image','Table','HorizontalRule','SpecialChar','-','SpellChecker' ],
[ 'Source','About','InsertSnippet','BGColor','SimpleLink', 'Select', 'SelectToText', 'SelectorUpdateSelector','SimpleLink' ],
[ 'Format','Font','FontSize' ],
[ 'TextColor' ],
[ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ],
[ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock' ],
]
},
}
Everything works perfectly with the editor, but the only tools I see are:
- Link, Unlink - OK
- Image, Table, Insert Horizontal Line, Insert Special Character. Missing: separator, spell checker.
- Source, About. Missing: insert snippet, bgcolor, simple link, select, select to text
- Paragraph Format. Missing: font, font size
- Missing: text color
- Bold, Italic, Strike, Remove Format. Missing: Underline, Subscript, Superscript, separator
- Numbered list, Bullet list, Decrease indent, Increase Indent, Block quote Missing: Justify left, Justify center, Justify right, Justify block, separators
I used the same naming shown in ckeditor example.
Any hint greatly appreciated.
from django-ckeditor.
So, i've manage to get textcolor and bgcolor running.
I had to download the colorbutton (http://ckeditor.com/addon/colorbutton) addon, and place it inside <many_folders>/ckeditor/plugins and in my settings i placed the following configuration:
CKEDITOR_CONFIGS = {
'default': {
'toolbar': None,
'extraPlugins': 'colorbutton'
},
}
Edit:
I believe the best way to package this app is to use ckeditor full preset option; and if somebody needs something more, he should fork, modify and then install directly from his "personal" fork on github.
what do you guys think?
from django-ckeditor.
I've switched from standard to full package which has colorbutton and other plugins. Should solve few similar cases.
from django-ckeditor.
Related Issues (20)
- look up uploaded image HOT 5
- stylesheetparser was not found HOT 10
- How to install plugins HOT 5
- Full package
- Instructions, swap step 3 and 4
- Exception on pseudo-image upload HOT 1
- Ckeditor inline HOT 1
- image upload problem HOT 1
- I can't install it manually using "python.exe setup.py install" HOT 4
- cursor jumping to document beginning after pressing enter at the end of a line
- CKEDITOR_CONFIGS HOT 1
- Ckeditor configs HOT 1
- Collectstatic don't works with .egg HOT 1
- Many problems not solver with 4.4.4 HOT 14
- v4.4.4 don't works HOT 14
- Widget style attribute breaks layout HOT 4
- Update to 4.4.4 from 4.4.0 fails HOT 1
- Please remove old pypi project HOT 3
- when i try to upload an image by admin , it has the csrf problem and upload failed. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-ckeditor.