Comments (2)
Same here. Default line spacing on MacOS target. Looks the same on iOS. Could not find how to set the preferred line height yet.
from zefyrka.
Found the ZefyrTheme class that is responsible for this kind of setting. Here is an example that changes line height.
SizedBox(
height: 200,
child: ZefyrTheme(
data: ZefyrThemeData.fallback(context).copyWith(
paragraph: TextBlockTheme(
style: DefaultTextStyle.of(context).style,
spacing: VerticalSpacing.zero())),
child: ZefyrEditor(
controller: _controller,
),
),
),
from zefyrka.
Related Issues (20)
- Get HTML from the ZefyrEditor? HOT 4
- How to add inline image to editor
- Hand cursor on link hover
- Package version 1.1.1 not installing ... HOT 2
- hintText HOT 1
- How do I get the real-time height of ZefyrField? HOT 1
- Missing implementation 'insertTextPlaceholder' (Flutter 3.0) HOT 2
- support callback when type @ to @someone? support custom emoji image? support type **text** auto change to bold text?
- A TextField Widget that allow how to convert easily what's in the TextField to with custom texteditor toolbar?
- I can't custom checkbox
- Getting Bad State no element found
- How to add character limit using maxLength
- 'DragSelectionUpdateCallback' not found. HOT 6
- Error: Type 'TextInputControl' not found. HOT 4
- IME candidate panel position place wrong
- Possible to not lose formatting when going to a new line?
- Error: The non-abstract class 'RawEditorState' is missing implementations for these members: HOT 2
- Bad state: Compose produced inconsistent results.
- Error: The non-abstract class 'RawEditorState' is missing implementations for these members: HOT 4
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 zefyrka.