Coder Social home page Coder Social logo

ckeditor4-presets's People

Contributors

adelura avatar annatomanek avatar ckeditorbot avatar comandeer avatar dumluregn avatar engineering-this avatar f1ames avatar fredck avatar hub33k avatar jacekbogdanski avatar karoldawidziuk avatar mlewand avatar msamsel avatar oleq avatar reinmar avatar scofalik avatar sculpt0r avatar tade0 avatar vokiel avatar wwalc avatar

Stargazers

 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  avatar  avatar  avatar  avatar

ckeditor4-presets's Issues

External plugins as node dependencies

Since we did a first step and added exportpdf plugin as npm dependency maybe it will be good to use this approach for all external plugins we have here (and will have in the future)?

Now we are in the situation were some plugins are npm deps and some git submodules. Generally, it makes sense since exportpdf plugin is fetched from npm, while SCAYT and WSC are fetched from git repos.

However, it means we have two mechanisms for fetching external plugins. And since npm is now a step of the build proces itself it will mean better integration and prevent from forgetting about updating plugins submodules. IMHO npm deps are easier to diff and see which version is used - since submodules just point to commit hash so one have to click the link and see which particular tag/version it is, while git npm dep can link to specific branch, tag or commit which is clearly visible. WDYT?

Enable CI for presets

Currently only master and major branches are being tested during CI in ckeditor4 repository. However it'd be nice to test also changes proposed in PRs here.

Inconsistent license banners

There are two versions of license banners:

/**
 * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or http://ckeditor.com/license
 */

and

/**
 * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see http://ckeditor.com/license
 */

It seems that the first version is used only in presets/<name>-ckeditor-config.js. As we don't have LICENSE.md file in this repo, probably we should stick to the second version.

Remove the WSC plugin from standard and full presets

Following ckeditor/ckeditor4#4423 in the nearest major release of CKEditor 4 we should do the following:

  • Remove WSC from the default setup in CKEditor 4 presets.
  • The WSC plugin should be still available in the plugins folder as opt-in solution until Q3/Q4 2021 in std-all / full-all distributions.
  • Update the documentation stating that the WSC plugin is no longer a part of CKEditor 4 presets, but can be added via the online builder and/or through extraPlugins in case of a CDN.

(remember about our demo preset too)

Nightly builds fails because of too verbose info with `-v` switch

Introduced in 07df69c

# Install NPM deps and move external plugins from `node_modules` to `plugins` directory.
echo ""
echo "Installing NPM dependencies..."
npm i
echo ""
echo "Copying plugins from NPM directory..."
echo ""

There is a -v switch which should return only the CKEditor version

if [ "$1" == "-v" ]
then
echo $versionFolder
exit 0
fi

but because of those changes version fetched is:

Installing NPM dependencies...

Copying plugins from NPM directory...

4.16.0/

Missing plugins between github and ckeditor.com's ckbuilder

Likely not the appropriate spot, was looking to clone and build ckeditor on my own because the website version is partially broken for custom builds. Does this version in github provide a custom build mechanism or would I just need to copy one of the presets and configure it for myself?

Copying files on OSX fails

The result of running build.sh on OSX:

Copying extra plugins...

usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory

64
undefined

Remove/change validation in build.sh

I just tried to create a new preset with a new name and encountered an error - it is impossible to run build.sh because it allows just 3 different predefined names (basic, standard, full).

The following lines could be modified:
https://github.com/ckeditor/ckeditor4-presets/blob/master/build.sh#L34-L46
Instead build.sh could check the presets folder for a given name and exit with an error if the build config and the editor config with given name do not exist.

Determine CKEditor version based on package.json

For years we've been bumping CKE version literal in build script.

Since we have CKEditor on npm for quite a while it make sense to get this information at runtime from package.json rather than complicate our life by bumping it in multiple places.

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.