Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"I DO want your money, because god wants your money!" -- The Reverend Jimmy, from _Repo_Man_


devel / comp.lang.javascript / Problems with Pell's base state.

SubjectAuthor
o Problems with Pell's base state.aaron...@gmail.com

1
Problems with Pell's base state.

<6a72f509-7975-43c0-8af9-67bd220fbd49n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17067&group=comp.lang.javascript#17067

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a0c:a99c:: with SMTP id a28mr98088qvb.33.1623159547202; Tue, 08 Jun 2021 06:39:07 -0700 (PDT)
X-Received: by 2002:a05:6830:22ec:: with SMTP id t12mr18535417otc.243.1623159546854; Tue, 08 Jun 2021 06:39:06 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Tue, 8 Jun 2021 06:39:06 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=81.174.241.153; posting-account=kL25OwoAAADaEwZmFnPXDuYNUKiH5X5u
NNTP-Posting-Host: 81.174.241.153
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6a72f509-7975-43c0-8af9-67bd220fbd49n@googlegroups.com>
Subject: Problems with Pell's base state.
From: aaronngray@gmail.com (aaron...@gmail.com)
Injection-Date: Tue, 08 Jun 2021 13:39:07 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 18
 by: aaron...@gmail.com - Tue, 8 Jun 2021 13:39 UTC

When trying out Pell Jared Reich's minimal JavaScript editor, and adding undo/redo to the button bar, I have came across a base state inconsistency that appears wth different behavoiur on different browsers.

I have folked it here for testing and possible browser dependant fix :-
https://github.com/AaronNGray/pell

@Thomas 'PointedEars' Lahn , Hi again after all these years, I was wondering if you might be able to work out how to make this domain behave consistently.
Basically if you enter a character it enters that character before adding <p></p>, but an undo then exposes this removing the <p></p> before another undo leaves just the first character.
Use paragraph <p> mode you get horizontal offset issues which can result in a physical offset followed by on more undos a <br>.
It would be good to document these behaviours and lodge them as an issue or issues for each browser on Pell's GitHub account issues.

Seeing as there are different behaviours on different browsers and the pell's functionality on top which is minimal AFAICS.
a) I am wondering if there are browser specific work arounds by initialization with the right innerHTML string and also the right text cursor selection position.
b) Also I am thinking if it would be a good idea to do issues for each of the browsers to a consistent state.
c) What does W3C document on this ?

Hope some light can be shed upon this.

Aaron


devel / comp.lang.javascript / Problems with Pell's base state.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor