Giter VIP home page Giter VIP logo

Comments (2)

pbarney avatar pbarney commented on August 25, 2024

Here's the problem in a nutshell:

In an attempt to avoid extraneous spaces at the end of a block element (<p>, <div>, etc.), the program will remove them after a period of time where no keyboard input has occurred. Unfortunately, that time appears to be one second or less.

The bug doesn't occur with inline elements (<span>, <textarea>, <time>, etc.) as they replace the ending space with a &nbsp; entity. If you begin typing again, the &nbsp; is replaced with an actual space. I believe this is how block elements should work as well, so this may be an easy fix; I honestly don't know.

There seems to be a timer involved. If you keep typing at a rapid pace, the problem doesn't happen. If you stop to think for more than two seconds, it switches to "remove empty spaces at the end of a block element" mode, erasing all of your spaces.

Possible workarounds:

  1. Type really fast and don't stop.
  2. If you have to stop, get in the habit of pressing the spacebar before you start typing your next word.
  3. Wrap all of your text inside <span> tags.
  4. Type in another editor and paste into BlueGriffon.

Obviously, these workarounds all suck. Definitely a bug here, but apparently, this space was abandoned long ago by @therealglazou, which is too bad because I think a lot of people still want a standards-compliant editor that can write semantically valid HTML.

from bluegriffon.

schabau avatar schabau commented on August 25, 2024

Possible workarounds:

  1. Type really fast and don't stop.

Hello,

that cannot be the case under any circumstances.
The problem occurs when writing is pouring away and not during any breaks. And only in dual view mode.

But I've come to terms with the fact that nothing more will happen at BlueGriffon anyway. BluGriffon now appears to be dead too.

Best wishes

from bluegriffon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.