Git Product home page Git Product logo

ckeditor's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ckeditor's Issues

Page list fails due to MySQL error

I noticed the Symphony Page-list was not generated in my CKEditor install (1.3.3. on Symphony 2.3.1)

The error in my log was:

UNKNOWN: DatabaseExceptionHandler 0 - MySQL Error (1054): Unknown column 'test' in 'where clause' in query: SELECT SQL_CACHE handle,title FROM `sym_pages` AS p WHERE id IN (test) ORDER BY sortorder ASC in file  /ME/symphony/lib/toolkit/class.mysql.php on line 807

The code triggering this error is this: https://github.com/kanduvisla/ckeditor/blob/master/content/content.pages.php#L94-95

Commenting out the $testData check 'solves' it (I see my Pages in the selector).

File Browser displays no images

After clicking "Browse Server" button I see my section that has a file upload field, but when I click on it nothing happens. I'm using Firefox 12, Windows 7, Symphony 2.3, and the extension version is 1.3.2.

I expect entries/images to display after clicking on the section.

[CKEditor 1.3.2] Multiple CKEditor instances on same page conflict

Part 1

Take 3 CKEditor enabled Textboxes: Small, Large and Medium.

After rendering, all 3 textareas have the size Medium (from the last rendered CKEditor instance).

Same thing with default Textarea field. All textareas from a page take the dimension from last one.


Part 2 (probably related to #12)

In addition, there's a small margin-right for CKEditor textareas. They don't span the entire available width (@see CKEditor_instance_conflict_Field_Textbox.png)

CKEditor_instance_conflict_Field_Textarea.png
CKEditor_instance_conflict_Field_Textbox.png

File browser not working.

Hi,

I have a section for the files. But it's not working.

When I try to create the entry for the image in the filebrowser I get this error:
Afbeelding /​workspace/​uploads/​images/[​object ​File]​
The file uploaded is no longer available. Please check that it exists, and is readable.

When I create the entry with the image directly the entry submits. But in the filebrowser the images don't show up. Using the image anyway results in a wrong path.

I will check what's going on, if I find anything I will let you know. If you know what's going on I would love to hear about it :)!

Error when uploading new file via filebrowser

Not sure what's happening under the hood here but I think there is an issue with the AjaxForm function.. I tried to upload a simple image and get this error after the ajax request was attempted/triggered:

Image /​workspace/[​object ​File]​ The file uploaded is no longer available. Please check that it exists, and is readable.

I think this is related to the path change in the upload field again... maybe the data object no longer contains the info we need in the response callback??

[Symphony 2.3] Weird conflict between Textbox size Large and CKEditor

Using v1.3.1 in Symphony 2.3 and I get this result for a CKEditor enabled Large Box sized Textbox. If I set the size of the textbox to anything else (Small, Medium, Huge), it works fine. This situation appears in Firefox 10.0.1, Windows 7 Ultimate when the browser window is maximized. If I resize the window the bug doesn't occur ... Chrome is fine.

Any ideas?

MySQL Error (1054): Unknown column 'outline'

Hi, I got this error when updating to v1.4 on SCMS 2.3.x:

MySQL Error (1054): Unknown column 'outline' in 'field list' in query: INSERT INTO sym_ckeditor_presets (name, toolbar, plugins, resize, outline) VALUES ('Minimal', '[''Bold'', ''Italic'', ''Strike'', ''-'', ''Subscript'', ''Superscript''], [''Link'', ''Unlink''], [''Source'']', NULL, NULL, NULL), ('Normal', '[''Bold'', ''Italic'', ''Strike'', ''-'', ''Subscript'', ''Superscript''], [''NumberedList'', ''BulletedList'', ''-'', ''Outdent'', ''Indent'', ''Blockquote''], [''Image'', ''oembed''],[''Link'', ''Unlink''], [''HorizontalRule''], [''Source'', ''Maximize'']', NULL, 1, 1), ('Full', '{ name: ''document'', items : [ ''Source'',''-'',''Save'',''NewPage'',''DocProps'',''Preview'',''Print'',''-'',''Templates'' ] }, { name: ''clipboard'', items : [ ''Cut'',''Copy'',''Paste'',''PasteText'',''PasteFromWord'',''-'',''Undo'',''Redo'' ] }, { name: ''editing'', items : [ ''Find'',''Replace'',''-'',''SelectAll'',''-'',''SpellChecker'', ''Scayt'' ] }, { name: ''forms'', items : [ ''Form'', ''Checkbox'', ''Radio'', ''TextField'', ''Textarea'', ''Select'', ''Button'', ''ImageButton'', ''HiddenField'' ] }, ''/'', { name: ''basicstyles'', items : [ ''Bold'',''Italic'',''Underline'',''Strike'',''Subscript'',''Superscript'',''-'',''RemoveFormat'' ] }, { name: ''paragraph'', items : [ ''NumberedList'',''BulletedList'',''-'',''Outdent'',''Indent'',''-'',''Blockquote'',''CreateDiv'',''-'',''JustifyLeft'',''JustifyCenter'',''JustifyRight'',''JustifyBlock'',''-'',''BidiLtr'',''BidiRtl'' ] }, { name: ''links'', items : [ ''Link'',''Unlink'',''Anchor'' ] }, { name: ''insert'', items : [ ''Image'',''Flash'',''Table'',''HorizontalRule'',''Smiley'',''SpecialChar'',''PageBreak'' ] }, ''/'', { name: ''styles'', items : [ ''Styles'',''Format'',''Font'',''FontSize'' ] }, { name: ''colors'', items : [ ''TextColor'',''BGColor'' ] }, { name: ''tools'', items : [ ''Maximize'', ''ShowBlocks'',''-'',''About'' ] }', NULL, 1, 1);

Link Template filtering

I love the Link Template functionality but was wondering if the following would be possible:

  • I would like to list some entries from a section (Page Content).

I need to filter those based on parent Sym.Page.

The reason is: I have one /extra/ Page that filters Page Content entries based on title (/extra/{$title} - I would like to add these Page Content entries as children of the Extra page in the Page selector

Text Box Field

/**
         * Load and apply CKEditor
         */      
        protected $addedCKEditorHeaders = false;

        public function applyCKEditor($context) {       
            //if($context['field']->get('formatter') != 'ckeditor' && $context['field']->get('formatter') != 'ckeditor_compact') return;

            if(!$this->addedCKEditorHeaders){
                Administration::instance()->Page->addScriptToHead(URL . '/extensions/ckeditor/lib/ckeditor/ckeditor.js', 200, false);
                Administration::instance()->Page->addScriptToHead(URL . '/extensions/ckeditor/assets/symphony.ckeditor.js', 210, false);
                Administration::instance()->Page->addStylesheetToHead(URL . '/extensions/ckeditor/assets/symphony.ckeditor.css', 'screen', 30);

                $this->addedCKEditorHeaders = true;
            }
        }

It isn't attaching the scripts/stylesheets when used with the Text Box Field extension. The first line of the script is returning it before it runs the if statement.

filebrowser.js broken

domready call is evoked with $(… but $ is not defined on the global scope.

full error log:

Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost/sym23/symphony/assets/admin.css/
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost/sym23/symphony/assets/jquery.js/
Uncaught ReferenceError: jQuery is not defined jquery.form.js:1076
Uncaught ReferenceError: $ is not defined filebrowser.js:14Failed to load resource: the server responded with a status of 404 (Not Found) 

URL with more than one 'symphony' string make "File browser" not work

Hello kanduvisla,

In ckeditor/assets/filebrowser.js, line 8:

Symphony.WEBSITE = window.location.toString().match(/^(.+?)\/symphony/)[1];

you use "lazy plus", I mean ".+?" regexp.

I've put up new environment recently, and URL to my new project's symphony administration panel looked this way:

http://127.0.0.1/symphony/PROJECT/symphony/

Unfortunately, your way of extracting Symphony.WEBSITE gives only http://127.0.0.1, because regexp stops after first symphony string. If you use "greedy plus" (only .+, without ?), it would properly give http://127.0.0.1/symphony/PROJECT and this makes file browser work properly.

It took me quite a bit to look this bug up! I hope that my little contribution will help somebody in the future ;)

cheers

New Chrome version and width of editor

I've run into an issue where the editor is way (10k px) too wide. It is described here: https://dev.ckeditor.com/ticket/9947

You can see an example of the bug here:

Screen Shot 2013-03-01 at 3 44 01 PM

Your (?) custom skin, however, seems to need a different fix than the one described in the link above. I added: .cke_browser_webkit table { table-layout: auto; } which seems to fix it.

I run Symphony 2.2.5 with CKEditor 1.2.3

  • Should I upgrade CKEditor?
  • Is there another way to patch my CKEditor extension?

Symphony 2.4 compatibility

Hi

There seems to be an error on the preferences page in that the duplicator doesn't render correct in symphony 2.4.

Symphony 2.3.3 bugs

Hi,

in Symphony 2.3.3, Upload Field got changed - it is described in the issue #1719 (http://www.getsymphony.com/download/releases/version/2.3.3/). This made Filebrowser not display images properly.

I've made a simple fix to this, but I don't quite understand some concepts of how filebrowser is written so I would prefer not to pull request my solution :)

Additionaly, I don't know why, filebrowser.js

has no enctype="multipart/form-data". I had to add it to make sending files work.

I hope it helps,have a nice day :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.