Comments (5)
Will monkey patch with CSS on simpla.io for now to continue dogfooding, but this is almost breaking IMO, because it also adds phantom margins to list items (p margins)
from simpla-richtext-behavior.
If this is non-trivial to patch, then we should at least add the following to the plugin CSS discussed in #23, which would restore regular behavior (p's act as spans)
li p {
display: inline;
}
from simpla-richtext-behavior.
@bedeoverend worth doing CSS hack for this now or fixing it properly?
from simpla-richtext-behavior.
@seaneking probably worth adding CSS hack. I think doing this will mean re-writing inputrules
utility functions, which will probably take awhile
from simpla-richtext-behavior.
Alright, do you want to add that to the sheet applied for #23 for now then?
from simpla-richtext-behavior.
Related Issues (20)
- Provide hooks for embedded images HOT 2
- State history isn't working HOT 4
- Img align center shouldn't set top and bottom margin HOT 3
- Selected image should unfocus on certain hotkeys
- Images should autofocus when embedded
- Removing all the content in a formatted range should remove the format
- Should we auto focus?
- Blockquotes / Headings should be applicable in lists HOT 5
- If image embedded after first line, cannot delete first line
- Image embed shouldn't insert new line if line already exists after image
- Tapping placeholder does not focus cursor on Safari HOT 3
- Backspacing in new list item removes list, but doesn't go to new line
- Spaces clobbered in Firefox HOT 22
- Cursor should always focus to left of placeholder HOT 1
- Generalise styles across plugins HOT 2
- Fork this into JS module HOT 5
- Make selected img nodes selection transparent HOT 7
- Make subprops notify? HOT 3
- Inserting image doesn't preserve selection HOT 3
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 simpla-richtext-behavior.