Giter Site home page Giter Site logo

Comments (10)

stof avatar stof commented on May 27, 2024 1

What you could do is providing a composer script handling the download of CKEditor (basically calling the command automatically, with checks to be sure it needs to be done again), and then update the recipe to register this script automatically.

from recipes-contrib.

fabpot avatar fabpot commented on May 27, 2024

Do you have a link to share where you discuss that? I'd like to better understand what the CKEditor installation means.

from recipes-contrib.

Pierstoval avatar Pierstoval commented on May 27, 2024

As it's a bundle, I would you to handle CKEditor download with a Symfony command, and when IvoryCKEditor bundle is installed via Flex, add a message to the output saying that CKEditor has to be downloaded.

Also, I don't know how this external asset will be handled by the bundle, but maybe you should also suggest this via bundle configuration

from recipes-contrib.

robfrawley avatar robfrawley commented on May 27, 2024

CKEditor is licensed under the GPL, LGPL, MPL, and a commercial version with special licensing (yeah, it is distributed under four different licenses). Also, does the bundle's installation command allow for selecting the different versions of CKEditor (ie. "Basic," "Standard," "Full," etc)?

from recipes-contrib.

Pierstoval avatar Pierstoval commented on May 27, 2024

It depends whether "canonical" links exist for these CKEditor editions or not šŸ˜•

from recipes-contrib.

robfrawley avatar robfrawley commented on May 27, 2024

Links to the different package versions do exist using the following pattern:

http://download.cksource.com/CKEditor/CKEditor/CKEditor%204.7.0/ckeditor_[0-9].[0-9].[0-9]_(basic|standard|full).zip

from recipes-contrib.

egeloen avatar egeloen commented on May 27, 2024

I will try to respond to all of your questions :)

Do you have a link to share where you discuss that? I'd like to better understand what the CKEditor installation means.

Basically, the discussion started here: egeloen/IvoryCKEditorBundle#295 & egeloen/IvoryCKEditorBundle#298

Before the linked PR, CKEditor source was packaged with the bundle but now, you need to install it by you own:

  1. Manually by yourself and reconfigure the bundle to use it: http://symfony.com/doc/current/bundles/IvoryCKEditorBundle/usage/version.html
  2. Use the new built-in command: http://symfony.com/doc/current/bundles/IvoryCKEditorBundle/usage/ckeditor.html

Does the bundle's installation command allow for selecting the different versions of CKEditor (ie. "Basic," "Standard," "Full," etc)?

Yes, you can choose where to install it, which distro to install (full, basic or standard, default full) as well as which specific version you want (default latest)...

If you use the default download path, then no need to configure the bundle as it uses this path as default conf.

from recipes-contrib.

egeloen avatar egeloen commented on May 27, 2024

@stof Is it mandatory to create a script handler as I notice that you can directly put the command as a script in your composer.json file?

from recipes-contrib.

fabpot avatar fabpot commented on May 27, 2024

Can we close here?

from recipes-contrib.

Nyholm avatar Nyholm commented on May 27, 2024

Iā€™m closing this due inactivity.

from recipes-contrib.

Related Issues (20)

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.