Comments (4)
I guess my question is, how do we get rid of the margin between paragraphs?
It is saving in the database as:
<p>Some test line is here</p>
<p>Then I press enter, and look at the spacing above...</p>
Is there a way to add some additional CSS or something to clean up that spacing?
from nova-quilljs.
@mikebertiean Did you ever used medium editor, when you press Enter, it also creates the next paragraph, it makes sense.
reference the paragraph's CSS , maybe you can fork this project and override it, but it can't change html's structure, only change paragraph's margin in nova
from nova-quilljs.
@ek0519
I see thank you. Yes that would just update the margin in the Nova editor.
If I wanted to add a style inside every paragraph tag to have
"style:margin=0;"
Is that possible? Would you be able to point me in the right direction? I can fork and make the necessary updates.
This has already been a really useful tool, thank you so much for developing it and helping me out.
Much appreciated!
from nova-quilljs.
@mikebertiean
In this css script
.ql-editor p {
margin-top: 18px;
font-size: 18px;
}
You can use CSS script .ql-editor
to select all content, set p element's style, use the same rule to set other elements' style.
If there are no questions, I will close this issue, God bless Canada :)
from nova-quilljs.
Related Issues (17)
- When enter , . on russian keybord - is activated search mode HOT 5
- Paste html markup in Quill Editor HOT 1
- Error when updating Nova from v3.8.4 to v3.9.2 HOT 1
- Image upload error HOT 3
- Editor overlaps field below. HOT 1
- 404 error on image upload HOT 1
- The image attachment does not getting save HOT 3
- 请修改你的README文档内容 HOT 4
- TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) HOT 2
- Image alignments are causing problems - sometimes do not save, or sometimes get left aligned when reopening the editor for editing post HOT 3
- MIssing styles when showing stored contnet on resource details page. HOT 2
- Nova 4 support
- Undefined property $attachCallback HOT 1
- Editor Height HOT 3
- Past as Plaintext HOT 2
- Editor overlaps fields below it HOT 2
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 nova-quilljs.