craftcms / ckeditor

Edit rich text content in Craft CMS using CKEditor.
https://plugins.craftcms.com/ckeditor
GNU General Public License v3.0
47 stars 25 forks source link

Suggestion: Migration script should name the configs, not use 0-based indexing #154

Closed darylknight closed 10 months ago

darylknight commented 10 months ago

Description

When converting Redactor to CKEditor using the command line tool (thank you for that!) it asks you which config you want to replace. For this, it uses a zero-based index system instead of naming the configs.

image

Perhaps it's a technical limitation, or because it's easier to type a number, but maybe it would be worth considering showing the names of these configs instead of just the index number?

brandonkelly commented 10 months ago

That’s unfortunately just a technical limitation of Yii’s CLI selection helper. You can enter ? to list out the individual options, and then enter the appropriate number.

darylknight commented 10 months ago

Understood - thanks for clarifying :)