DEV Community

Cover image for Update on Release 0.4
Gustavo Tavares
Gustavo Tavares

Posted on

Update on Release 0.4

Hey

This post is a bit late but I got some things to tell you since last time.

How is the PR going?

The PR is almost complete, because the author decided to do his entire project using Vanilla JS, I decided to not opt for Slate.


CKEDITOR

A rich text editor that I tried to use was CKEDTIOR, I got to know it because of WEB524, and decided to give it a try as I could use it through CDN.

On HTML

CDN

Then at the bottom of my html file I just need to add another line of code:
CDN2

On JS

And on my JS File I just had to access its content and replace it,
Getting the data:
JSCK

Replacing the data:
JSCK2


It worked?

No

Because I am using span and CSS to set the colors of each character, I have do be able to input it into the text editor, but it won’t work.


What now?

Following the Author, I think my best choice now is to keep going with Vanilla JS.
This way I can get input from the textbox, map it and apply the spans with colored classes and display it in a <p> tag or so.

This is how it is working now:

working


When it’s going to be done

Wednesday of this week I should have it all complete.
On Friday I will post another update on how the PR and review with the Author was.

Thank you so much for reading!

Top comments (0)