Comments (3)
the config.js
should be look like following:
CKEDITOR.editorConfig = function(config) {
//....
config.extraPlugins = 'youtube,imgur';
config.imgurClientId = 'your client id';
config.toolbar = [
{ name: 'insert', items: [ 'Image', 'Table', 'Smiley', 'SpecialChar', 'Imgur' ] }
// ...
];
}
the key is to add Imgur
to your items
from ckeditor-imgur.
Hi,
Thanks for your reply. yes my config.js looks like that :
`CKEDITOR.editorConfig = function( config ) {
config.extraPlugins = 'imgur';
config.imgurClientID = 'xxxxxxxxxxxxxxx';
// Define changes to default configuration here. For example:
config.language = 'fr';
config.toolbar = [
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ], items: [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ] },
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ], items: [ 'Find', 'Replace', '-', 'SelectAll', '-', 'Scayt' ] },
'/',
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ], items: [ 'Bold', 'Italic', 'Underline', 'Strike', '-', 'RemoveFormat' ] },
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ], items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-' ] },
{ name: 'links', items: [ 'Link', 'Unlink', 'Anchor' ] },
'/',
{ name: 'styles', items: [ 'Styles', 'FontSize' ] },
{ name: 'colors', items: [ 'TextColor'] },
{ name: 'tools', items: [ 'Maximize', 'ShowBlocks' ] },
{ name: 'insert', items: [ 'Image', 'Imgur' ]}
];};`
I can see on my editor the icons for your plugin
but i am still getting the error telling me to add config.imgurClientID into my config.js file.
Maybe i'm missing something?
from ckeditor-imgur.
try to run bundle update ckeditor-imgur
and see if the version is 1.0.2
from ckeditor-imgur.
Related Issues (14)
- Client ID case sensitive HOT 3
- Can it auto change the response url's http to https?
- Problem while uploading HOT 1
- Error Usage HOT 1
- Uncaught TypeError: Cannot read property '$' of null HOT 1
- Textarea disappear using imgur plugin.
- Fix documentation case problem HOT 2
- Alert with text undefined
- Where can i see the uploaded images in my imgur account ? HOT 1
- Still asking for ID HOT 1
- Suggestion
- bug with plugin on multi instances
- Hello, this plugin is great, but it has some error... HOT 1
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 ckeditor-imgur.