Comments (3)
I can reproduce the issue, and it's very annoying.
Also I use a light version of the Gutenberg code to get the headings (the process that initially list all headings in the top of the editor).
For now it cannot list heading in groups and columns. So I need to improve this a lot.
It would be awesome if such a block finishes in the core.
from agb.plugin.
Tell me if a solution shows up because it's beyond my coding level!
from agb.plugin.
@maximebj My table of contents block PR for the Gutenberg project is now in as good a state as it can get without additional APIs being introduced. It doesn't have the undo problem, and really, the only problem it does have is an edge-case issue with <!--nextpage-->
tags not being counted correctly in the editor (the front end is fine), which I don't think your implementation even attempts to handle in the first place.
Because of the aforementioned edge-cases, I've avoided merging the block into core, but I think the implementation is fine for a plugin, so feel free to copy anything from my implementation to improve or fix your own.
from agb.plugin.
Related Issues (20)
- WordPress plugin card block : can't select plugin HOT 3
- Website Card Preview HOT 3
- Invalid wordpress action: Stops other plugin installs from working HOT 1
- Post block - Undefined variable when WP_DEBUG true and author toggle selected HOT 2
- Currency position does not reflect WooCommerce option HOT 1
- Code block doesn't display correctly on frontend HOT 6
- F# can only be shown as mllike, disregards mime
- Error with Gutenberg 7.2.0: Block validation: Block validation failed for `core/html` HOT 6
- Additional css classes ignored? HOT 1
- Could you please use spaces or tabs HOT 4
- Support for YAML with code block
- CodeMirror is not defined
- Some themes override color/margin/padding in advanced blocks HOT 2
- card: replacing opengraph API dependency HOT 3
- Lack of proper sanitization for echo function
- Code line highlight by numbers and not range
- Fatal error: Uncaught Error: Attempt to modify property "registered_blocks" on null in /wp-content/plugins/advanced-gutenberg-blocks/classes/Services/Blocks.php:51 HOT 1
- Plugin no longer in wordpress.org - gets flagged by WordFence HOT 1
- Fatal Error Occuring 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 agb.plugin.