Comments (3)
A few things here...
- I don't see the
<br />
elements you're mentioning - if you place the caret at the begin of
bar
, you're in effect placing the collapsed selection INSIDE the dfn element and before the first character. So you end with two nested dfn elements. According to the HTML document model, this is wrong. But we have no way to allow pasting and be model-compliant here, hence the result.
To paste your <dfn>foo</dfn>
correctly, place the caret inside the other dfn element, hit the ESC key to select the whole element and then the left arrow key to place the selection BEFORE the element (and not inside it like above).
Closing as there is nothing I can do here.
from bluegriffon.
Closing as there is nothing I can do here.
There is indeed something you can do here. Add the rule: "if the cursor is at the beginning of a series of inline elements and the user hits Enter, don't create a whole list of empty inline elements, as it is obvious that the user wants the newline to take place before them."
That is, if I my cursor is here:
<li><dfn><code><span>|foobar
If I hit Enter, it is obvious that I want to create this:
<li>
<li><dfn><code><span>|foobar...
and not
<li><dfn><code><span></span></code></dfn><br/>
<dfn><code><span>|foobar...</li>
from bluegriffon.
To paste your foo correctly, place the caret inside the other dfn element, hit the ESC key to select the whole element and then the left arrow key to place the selection BEFORE the element (and not inside it like above).
Ah, that's a very good tip. Thanks. It seems to be working; I'll keep testing it. (Still the suggestion I indicated above could make it all more user friendly.)
from bluegriffon.
Related Issues (20)
- Can't put in my second license with my second PC
- Assuming this is dead. Alternative? HOT 6
- Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)
- Idea - Ace editor HOT 1
- ./mach build failed HOT 3
- Only empty windows on Mac OS HOT 8
- should I use or not HOT 3
- Dead HOT 1
- Cannot create or edit EPUB files
- Error message when switching from source view to WYSIWYG View HOT 1
- Bluegriffon on Windows keeps launching unmaximized
- Big sur void menus HOT 8
- JavaScript with Blockly HOT 1
- OCR from JavaScript HOT 2
- Spaces are overwritten in DualView mode HOT 2
- RFE: Fedora Support !!!!
- Feature request: autosave HOT 3
- mach run failed in macos big sur 11.2.2
- Support Flatpak HOT 1
- dead? HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluegriffon.