Discuss Scratch

skymover1239
Scratcher
500+ posts

Ink: The Editor That Does More.

Hi. So I made a online based editor named Ink. Originally, that was the only thing it was, an editor. Now, it has features that give it a little more utility.

Features
Edit from any where
Looks good on mobile as well as desktop.
Modern UI.
Code with HTML.
Any math statements are automatically calculated.
Make a change and see it instantly.
Save and import projects.

With more coming!

Tested on:
Linux:
LibreWolf(Firefox based)

Android:
DuckDuckGo(Chrome based)
Tested on another browser? Report your result here!

Links:
Website: https://darth-ness.github.io/Ink/
GitHub: https://github.com/Darth-Ness/Ink/tree/master

If you can't access the link above (Usually due to “darth-ness” being detected as bad) there is another website you can use
https://jaydendev.github.io/Ink
It is the exact same website with no modifications.

Last edited by skymover1239 (Feb. 2, 2022 14:43:50)

kccuber
Scratcher
1000+ posts

Ink: The Editor That Does More.

html's default font is serif not sans-serif so please fix that, then it would be cool
skymover1239
Scratcher
500+ posts

Ink: The Editor That Does More.

kccuber wrote:

html's default font is serif not sans-serif so please fix that, then it would be cool
In what? The text area or the output?
kccuber
Scratcher
1000+ posts

Ink: The Editor That Does More.

skymover1239 wrote:

kccuber wrote:

html's default font is serif not sans-serif so please fix that, then it would be cool
In what? The text area or the output?
output, sorry for not clarifying
skymover1239
Scratcher
500+ posts

Ink: The Editor That Does More.

kccuber wrote:

skymover1239 wrote:

kccuber wrote:

html's default font is serif not sans-serif so please fix that, then it would be cool
In what? The text area or the output?
output, sorry for not clarifying
As far as I can tell the font is Arial, sans-serif.
mbrick2
Scratcher
1000+ posts

Ink: The Editor That Does More.

Cool
-SvenSvenska-
Scratcher
19 posts

Ink: The Editor That Does More.

Is this like an IDE?
skymover1239
Scratcher
500+ posts

Ink: The Editor That Does More.

-SvenSvenska- wrote:

Is this like an IDE?
It doesn't have some of the features that an IDE would have, but you could use it as one.
MagicCrayon9342
Scratcher
1000+ posts

Ink: The Editor That Does More.

Made a PR
skymover1239
Scratcher
500+ posts

Ink: The Editor That Does More.

MagicCrayon9342 wrote:

Made a PR
Thank you.

For future reference if anyone wants to create a PR, please make one on the beta branch.
MagicCrayon9342
Scratcher
1000+ posts

Ink: The Editor That Does More.

skymover1239 wrote:

(#10)

MagicCrayon9342 wrote:

Made a PR
Thank you.

For future reference if anyone wants to create a PR, please make one on the beta branch.
ok
Chiroyce
Scratcher
1000+ posts

Ink: The Editor That Does More.

kccuber wrote:

html's default font is serif not sans-serif so please fix that, then it would be cool
depends on what your browser has set for the default font

skymover1239 wrote:

Looks good on mobile as well as desktop.
I think the margin is a bit too little on the bottom-left corner.
skymover1239
Scratcher
500+ posts

Ink: The Editor That Does More.

Chiroyce wrote:

kccuber wrote:

html's default font is serif not sans-serif so please fix that, then it would be cool
depends on what your browser has set for the default font

skymover1239 wrote:

Looks good on mobile as well as desktop.
I think the margin is a bit too little on the bottom-left corner.
Bottom left corner of what?

Update!!
Themes now supported (From AquaCSS)
MagicCrayon9342
Scratcher
1000+ posts

Ink: The Editor That Does More.

I found and reported a bug related to the theme selector.
https://github.com/Darth-Ness/Ink/issues/5

When switching to another theme and back to comet, the comet theme doesn't display properly

Tested with a few other themes switching around and the themes appear be having their properties mixed?

Last edited by MagicCrayon9342 (Jan. 28, 2022 01:51:19)

-EmeraldThunder-
Scratcher
1000+ posts

Ink: The Editor That Does More.

Nice I really like the UI and theme control features.
god286
Scratcher
1000+ posts

Ink: The Editor That Does More.

uh
alert(1 + 2)
it evaluates it and gives 3 could I use this to make it do a fetch request/
skymover1239
Scratcher
500+ posts

Ink: The Editor That Does More.

-EmeraldThunder- wrote:

Nice I really like the UI and theme control features.
Thank You!

god286 wrote:

uh
alert(1 + 2)
it evaluates it and gives 3 could I use this to make it do a fetch request/
For some reason, JavaScript and CSS is not supported right now, I'm hoping to be able to fix it in a future update.
Sorry, misunderstood your post. Basically because of your math statement, the entire line was run as JS. So I guess so? It would have to include a math statement on the same line as the command.

Last edited by skymover1239 (Jan. 29, 2022 00:20:28)

god286
Scratcher
1000+ posts

Ink: The Editor That Does More.

skymover1239 wrote:

Sorry, misunderstood your post. Basically because of your math statement, the entire line was run as JS. So I guess so? It would have to include a math statement on the same line as the command.
Technically it's XSS, you should fix this before you add online file saving or storing it in a database.

Last edited by god286 (Jan. 29, 2022 00:23:08)

skymover1239
Scratcher
500+ posts

Ink: The Editor That Does More.

god286 wrote:

skymover1239 wrote:

Sorry, misunderstood your post. Basically because of your math statement, the entire line was run as JS. So I guess so? It would have to include a math statement on the same line as the command.
Technically it's XSS, you should fix this before you add online file saving or storing it in a database.
Except Ink doesn't have a server… So the XSS only effects someone who codes one in their editor.
god286
Scratcher
1000+ posts

Ink: The Editor That Does More.

skymover1239 wrote:

Except Ink doesn't have a server… So the XSS only effects someone who codes one in their editor.
Ya, I know, but if you eventually add file saving in cloud or something, then you could consider that… because then if someone says to put that in the editor, or if you can create links or something, then it would be easy to attack people.

Last edited by god286 (Jan. 29, 2022 00:26:22)

Powered by DjangoBB