npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@camilo__lp/custom-editor-vue3

v1.0.1

Published

A project with CKEditor 5 and Vue 3 custom

Downloads

189

Readme

CKEditor Vue 3 complete custom build

This is a project which uses a custom build of CKEditor, this build has the vast majority of free plugins already installed and the toolbar already organized, it was created with the intention that you only install the package and pass it as an editor to the CKEditor package.

This editor uses the Spanish Colombia language by default, if you want to use another language, you would just have to create a new custom build, upload it to npm (there are other options to use CKEditor locally) and instead of installing this package you install yours, they are practically the same steps, it's really easy!!!

Sources

Deployment

To be able to run the project it is the same as if you were using a normal editor or the default CKEditor.

Follow the next steps:

  • Install the following dependencies

    npm install --save @ckeditor/ckeditor5-vue
  • Go to your main.js or main.ts file and add the following line, this is to instantiate the component so you can use the component globally.

    import CKEditor from "@ckeditor/ckeditor5-vue";
    Vue.createApp({
        /* options */
    })
        .use(CKEditor)
        .mount(/* DOM element */);

    But if you want to do it only in a single component, you can follow CKEditor's guide.

  • Install the CKEditor Vue 3 complete custom build package or yours.

    npm i @camilo__lp/custom-editor-vue3
  • Go to the component where you want to use the custom editor and do the following:

    <script setup>
        import { ref } from "vue";
        import { Editor } from "@camilo__lp/custom-editor-vue3"; // Or yours
        const editorSettings = {
            //settings
        };
        const body = ref("");
    </script>
    <template>
        <ckeditor :editor="Editor" v-model="body" :config="editorSettings">
        </ckeditor>
    </template>
  • Enjoy your editor

Support

  • This editor is using version 41.3.1 in dependencies and in the editor itself
  • This editor uses the Spanish Colombia language by default