CKEditor 5 Base64 image upload adapter in Angular 11

Поділитися
Вставка
  • Опубліковано 13 січ 2025

КОМЕНТАРІ • 37

  • @DevBugFix
    @DevBugFix  3 роки тому

    if you want to learn how to integrate this video source code(CK Editor 5) in Angular project watch the following video
    ua-cam.com/video/9GYIfX3YEgU/v-deo.html

  • @abhaykumar5857
    @abhaykumar5857 2 роки тому

    Thank you so much . I was searching for 2 days for this kind of video

  • @sumitkush7083
    @sumitkush7083 2 роки тому

    Nice video 👍👍

  • @ntnull82
    @ntnull82 2 роки тому +1

    @DevBugFix I can't resize the image like you ?

    • @DevBugFix
      @DevBugFix  2 роки тому

      hello you did not add below configuration in config Object
      code URL: github.com/DevBugFix/CKEditor5_IntegratoionInAngular/blob/main/src/app/my-ck-editor/my-ck-editor.component.ts
      image: {
      // Configure the available styles.
      styles: [
      'alignLeft', 'alignCenter', 'alignRight'
      ],
      // Configure the available image resize options.
      resizeOptions: [
      {
      name: 'resizeImage:original',
      label: 'Original',
      value: null
      },
      {
      name: 'resizeImage:50',
      label: '25%',
      value: '25'
      },
      {
      name: 'resizeImage:50',
      label: '50%',
      value: '50'
      },
      {
      name: 'resizeImage:75',
      label: '75%',
      value: '75'
      }
      ],
      // You need to configure the image toolbar, too, so it shows the new style
      // buttons as well as the resize buttons.
      toolbar: [
      'imageStyle:alignLeft', 'imageStyle:alignCenter', 'imageStyle:alignRight',
      '|',
      'ImageResize',
      '|',
      'imageTextAlternative'
      ]
      },

  • @ujjwalanand6687
    @ujjwalanand6687 Рік тому +1

    SHOULD GO WITH NORMAL IMAGE UPLOADER OR BASE 64 FOR A NORMAL BLOG APP

    • @DevBugFix
      @DevBugFix  Рік тому +1

      base64 increases the blog size because the image will save in the database, which will also impact loading time of your blog,, I will recommend image uploader save the image externally.

  • @HarshRana-lt8yj
    @HarshRana-lt8yj 10 місяців тому

    how did you send the image on your own server can you tell me how did u didt it?

    • @DevBugFix
      @DevBugFix  10 місяців тому

      Check my video on ck editor image upload

    • @HarshRana-lt8yj
      @HarshRana-lt8yj 10 місяців тому

      i want that as i copy past word file then the images in that should hit on my server is its possible?
      @@DevBugFix

    • @DevBugFix
      @DevBugFix  10 місяців тому

      You can try base64 uploader. Or do some research hopefully you will find answer

  • @shaktikush6613
    @shaktikush6613 2 роки тому

    Nice video 👍

  • @NuevaHD
    @NuevaHD 3 роки тому

    is there a way to add image upload for ckeditor 4 or 3 in angular 7 !?

    • @DevBugFix
      @DevBugFix  3 роки тому

      Ckeditor 5 has uploading feature that will upload image on given API endPoint
      ua-cam.com/video/mny6Oj7_3j4/v-deo.html

  • @greencoder3795
    @greencoder3795 9 місяців тому

    Hi , can anyone tell me how to integrate underline and font size i ckeditor 5.

    • @DevBugFix
      @DevBugFix  8 місяців тому

      import underline plugin

  • @naveenfernando1852
    @naveenfernando1852 3 роки тому +1

    Thanks for the great tutorial,
    How can i save the uploaded image into a directory and use the directory path as the url
    .

    • @DevBugFix
      @DevBugFix  3 роки тому

      Hi watch this tutorial
      ua-cam.com/video/mny6Oj7_3j4/v-deo.html

  • @greencoder3795
    @greencoder3795 9 місяців тому

    Hi could u pls provide detail information on uploading image with base 64 step by step

    • @DevBugFix
      @DevBugFix  8 місяців тому

      See the video in playlist

  • @maryambibi9687
    @maryambibi9687 2 роки тому

    hi please tell how you open this ckeditor.js file in visual code my is mixup

    • @DevBugFix
      @DevBugFix  2 роки тому

      i did not get your point

    • @DevBugFix
      @DevBugFix  2 роки тому

      watch this video too and watch this series might be it will help you
      ua-cam.com/video/9GYIfX3YEgU/v-deo.html

  • @sumitkush7083
    @sumitkush7083 2 роки тому

    👍👍👍

  • @jdnielss
    @jdnielss 3 роки тому

    can you show example how to htmlEmbed?

    • @DevBugFix
      @DevBugFix  3 роки тому +1

      hello
      fellow this step
      add 'htmlembed ' & configuration like this
      {
      toolbar: [ 'htmlEmbed' ],
      htmlEmbed: {
      showPreviews: true,
      sanitizeHtml: (inputHtml) => {
      const outputHtml = this.domSanitizer.bypassSecurityTrustHtml(inputHtml);
      return {
      html: outputHtml,
      hasChanged: true
      };
      }
      }
      }
      add domSenitizer in constructor
      constructor(private domSanitizer: DomSanitizer){}
      Trusted html is required for rendering
      this.domSanitizer.bypassSecurityTrustHtml(html)

    • @jdnielss
      @jdnielss 3 роки тому

      @@DevBugFix its domSanitizer Package from npm?

    • @DevBugFix
      @DevBugFix  3 роки тому +1

      its Angular service

    • @jdnielss
      @jdnielss 3 роки тому

      @@DevBugFix hmm thank you very much :)

  • @maryambibi9687
    @maryambibi9687 2 роки тому +1

    where is ckeditor.js file

  • @narenk8077
    @narenk8077 Рік тому

    I am getting duplicate issues

  • @greencoder3795
    @greencoder3795 9 місяців тому

    Hi

  • @venkatpalllantla1302
    @venkatpalllantla1302 3 роки тому

    Can you provide the GitHub url of this working project

    • @DevBugFix
      @DevBugFix  3 роки тому

      Source Code
      github.com/DevBugFix/CKEditor5_IntegratoionInAngular

  • @sumitkush7083
    @sumitkush7083 2 роки тому

    Nice video 👍👍

  • @sumitkush7083
    @sumitkush7083 2 роки тому

    👍👍👍👍