Hi again.
I've saw that you've comment this config.js definition in
plugin_ckeditor.py:
function ckeditor_config() {
return {
contentsCss: %(contents_css)s,
filebrowserUploadUrl: '%(upload_url)s',
filebrowserBrowseUrl: '%(browse_url)s',
toolbar: [
{name: 'clipboard', items: ['Cut', 'Copy',
'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo']},
{name: 'editing', items: ['Find', 'Replace', '-'
, 'SelectAll', '-', 'SpellChecker', 'Scayt']},
{name: 'links', items: ['Link', 'Unlink',
'Anchor']},
{name: 'insert', items: ['Image', 'Flash',
'Table', 'SpecialChar']},
{name: 'tools', items: ['Maximize', 'ShowBlocks'
, '-', 'Source']},
'/',
{name: 'styles', items: ['Format', 'Font',
'FontSize']},
{name: 'basicstyles', items: ['Bold', 'Italic',
'Underline', 'Strike', '-', 'RemoveFormat']},
{name: 'paragraph', items: ['NumberedList',
'BulletedList', '-', 'Outdent', 'Indent', 'JustifyLeft', 'JustifyCenter',
'JustifyRight', 'JustifyBlock']},
],
scayt_autoStartup: %(scayt)s,
}
}
%(immediate)s
Perhaps we've to add here something...
Il giorno lunedì 24 marzo 2014 10:58:12 UTC+1, Gael Princivalle ha scritto:
>
> With a new version of ckeditor, it miss this js file plugin, that have to
> be in the ckeditor root:
> ckeip.js
>
> I've take it from the Bruno Rocha Github.
> Anyway adding plugin still a problem.
>
> What I want to have for example is adding this plugin:
> http://ckeditor.com/addon/oembed
>
> It have these dependencies:
> http://ckeditor.com/addon/widget
> http://ckeditor.com/addon/dialog (already installed, have dialogui
> dependecy)
>
> I've upload all files, and add missing plugins in the ckeditor config.js .
> CKEDITOR.editorConfig = function( config ) {
> config.extraPlugins = 'widget,dialogui,oembed';
> };
>
> The oembed is not displayed.
>
> I've tried also to add this really simple plugin, Save:
> http://ckeditor.com/addon/save
>
> No way. It's not displayed.
>
> I've try also only with the save plugin:
> CKEDITOR.editorConfig = function( config ) {
> config.extraPlugins = 'save';
> };
>
> It don't works.
>
> Do you know how I can go ahead ?
>
> Thanks.
>
>
> Il giorno lunedì 24 marzo 2014 08:54:58 UTC+1, Gael Princivalle ha scritto:
>>
>> Image upload with IE works great.
>> Replacing the complete plugin_ckeditor folder by the downloaded ckeditor
>> folder works, but some ckeditor plugins are not availables.
>>
>> I've try to put the full ckeditor version with all plugins, and a lot are
>> missing.
>> Here is the full version demo:
>> http://ckeditor.com/demo#full
>>
>> For example I don't have the text color button.
>>
>> Is it a problem due to ckeditor or to the ckeditor plugin for web2py ?
>>
>> In attach file the full ckeditor plugin.
>>
>> Regards.
>>
>>
>> Il giorno lunedì 24 marzo 2014 01:13:17 UTC+1, Tim Richardson ha scritto:
>>>
>>> Oh, would be great if you can test the image upload functionality (ie
>>> when using ckeditor to place an image, you should be able to upload images).
>>>
>>>
>>> On Monday, 24 March 2014 07:04:36 UTC+11, Gael Princivalle wrote:
>>>>
>>>> Thank you Tim.
>>>>
>>>> This new version works well
>>>>
>>>> What I don't understand is how can I update the CKeditor version.
>>>> In the release notes I've saw that "To upgrade to a newer version of
>>>> ckeditor, replace the directory static/plugin_ckeditor with the directory
>>>> downloaded from the ckeditor site."
>>>> But when I do it quite all buttons disappear and some functions are
>>>> missing.
>>>>
>>>> Here is in attach file the custom version that I've download from the
>>>> CKeditor website.
>>>> Can you make a test ?
>>>>
>>>> Regards.
>>>>
>>>>
>>>> Il giorno mercoledì 5 marzo 2014 05:14:34 UTC+1, Tim Richardson ha
>>>> scritto:
>>>>>
>>>>> Have a look here:( The plugin can be found on releases; download it
>>>>> and then upload it via the admin app. I'll move it to web2py slices once
>>>>> I
>>>>> get some feedback and do some more testing myself)
>>>>>
>>>>> https://github.com/timrichardson/web2py_ckeditor4/releases
>>>>>
>>>>> Let me know if it works ok. It's the current ckeditor, standard
>>>>> edition. The release notes have instructions on how to update it. Unless
>>>>> the API to the custom browsers and uploaders changes, putting a new
>>>>> release
>>>>> in is very easy.
>>>>> That API didn't change between v3 and v4 which is good news.
>>>>>
>>>>>
>>>>>
>>>>> On Wednesday, 5 March 2014 07:41:58 UTC+11, Gael Princivalle wrote:
>>>>>>
>>>>>> That's a really good news. Can you give also a little documentation
>>>>>> for updating/changing the ckeditor version ?
>>>>>>
>>>>>> Thank's a lot Tim.
>>>>>>
>>>>>> Il giorno martedì 4 marzo 2014 20:19:50 UTC+1, Tim Richardson ha
>>>>>> scritto:
>>>>>>>
>>>>>>> I've cloned the ckeditor plugin and updated it to the latest version
>>>>>>> of ckeditor and fixed a couple of other problems. It's working for me
>>>>>>> in an
>>>>>>> app. I'll finish the plugin in a few days, I need to merge my changes
>>>>>>> back
>>>>>>> and add some testing code. I've removed the inline edit capability
>>>>>>> since it
>>>>>>> depends on JavaScript which appears to be unmaintained.
>>>>>>
>>>>>>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.