Created on 30 July 2023, over 1 year ago
Updated 2 August 2023, over 1 year ago

Hi,

THis module is exactly something I was looking for! It works great! Thank you!

How would you handle the fact you have to change a file in the contrib module to add more templates.

I was thinking some ways:

Force git to add it to the repo (-f option).
Makes patches each time.
User ! in gitignore to actually not ignore that file.

What is the recomended way here?

πŸ’¬ Support request
Status

Closed: duplicate

Version

1.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States duckydan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @duckydan
  • πŸ‡©πŸ‡ͺGermany vincent.hoehn Dresden, Germany

    Hi Dan,

    Thanks a lot! I am happy that the module is being used!

    The location of the file is not the best, I know. Previously, the file was located in the home directory. But since a path is defined in the compiled build file, I had to make sure that the folder exists for everyone. So I took the file into the module directory.

    We use the following way:
    Install the module via composer
    Create and apply a patch (or another way to modify the file)
    When updating, composer tells you that there are changes and how to handle them (options y,n,v,d,s). We used s and the changes were still there.

    All options:

    y - discard changes and apply the update
    n - abort the update and let you manually clean things up
    v - view modified files
    d - view local modifications (diff)
    s - stash changes and try to reapply them after the update

    This has the same effect as your way, right? Or can you tell me a bit more about it?

    I also tried to develop an own configuration site, where you can configure the path to the configuration file. But I dont know how to do it yet.

    BR Vincent

  • πŸ‡©πŸ‡ͺGermany dbielke1986

    Hello @duckydan,

    Can you please take a look at the following (related) issue?
    Does this describe your wish or requirement for the module?

    Possibility to specify a template file, so that it is not always overwritten during an update ✨ Possibility to specify a template file, so that it is not always overwritten during an update Fixed

    BR,
    Daniel

  • Status changed to Postponed: needs info over 1 year ago
  • πŸ‡©πŸ‡ͺGermany dbielke1986

    @duckydan

    Is this support request covered by this issue:

    https://www.drupal.org/project/ckeditor5_template/issues/3378191 ✨ Possibility to specify a template file, so that it is not always overwritten during an update Fixed

    If not, please provide us further information.
    If yes, I would appreciate marking this as "Closed (duplicate)"

  • Assigned to dbielke1986
  • Status changed to Closed: duplicate over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States duckydan
Production build 0.71.5 2024