Different versions for the CKEditor configuration fragment

  Written by The Jahia Team
 
Sysadmins
   Estimated reading time:
7.1.1.0

Is it possible to maintain different versions of the CKEditor configuration fragment produced by http://localhost:8080/modules/tools/ckeditorConfig.jsp

Answer

No, this tools is not managing any versions. It is more an example than something to use in a project.
To manage your fragment yourself, create a project and use the following pom.xml to generate the fragment module:

<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.jahia.modules</groupId>
    <artifactId>fragmenttest</artifactId>
    <name>fragmenttest</name>
    <version>1.0-SNAPSHOT</version>
    <packaging>bundle</packaging>
    <description>This is the custom module (fragmenttest) for running on a Digital Experience Manager server.</description>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>
                    <instructions>
                        <Jahia-Depends>default</Jahia-Depends>
                        <Fragment-Host>fragmenthost</Fragment-Host>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

In case you specify a parent TAG, please use the following:

<parent>
    <groupId>org.jahia.bundles</groupId>
    <artifactId>jahia-bundles</artifactId>
</parent>