Comments (2)
Hi. There are two ways.
- Specify own
toolbox
title (and/or icon)
const editor = new EditorJS({
tools: {
header: {
class: Header,
toolbox: {
title: 'My own title',
// icon: '<svg>...</svg>'
}
}
}
})
- Using the i18n option
const editor = new EditorJS({
// ...
i18n: {
messages: {
toolNames: {
'Heading': 'My own title'
}
}
},
})
from header.
Thank you for the code examples, it works!
Maybe it should be linked in the documentation, then it would be simpler for other users to find.
from header.
Related Issues (20)
- How to change title Name? HOT 1
- Migrate to TypeScript HOT 2
- When using a placeholder, cursor doesn't appear on a single click HOT 1
- Output format: Which properties (if any) can be null omitted? HOT 1
- Text has "<br>" appended
- Can not Set Heading with Link
- Couldn't load Header tool in toolbox HOT 2
- Header not allowing `<br>` when shift+enter pressed HOT 1
- Image in the README is gone
- Deleted
- README.md specifies uploading non-existent dist folder HOT 1
- Missing docs about how to initiate the component via manual script loading
- Write escape character like & will return & HOT 1
- Customise the renderSettings for additional UI of block tune menu.
- Multiple headings in the toolbox HOT 4
- Bold and Italic format text within header cant be retrivied on save()
- How can I translate the blockTune "Heading 1"... to "Cabeçalho 1" with I18n? HOT 1
- Pasted headings are invalid HOT 1
- How to setup plugins locally?
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 header.