Comments (6)
Hey folks, I’ve been on holiday. I’m hoping to get time to look into this this week, as well as a few other issues.
from wagtailcodeblock.
A fix would be greatly appreciated but I'm afraid I'm not sure where to begin with contributing. I had it available as part of a streamfield and the whole content section wouldn't show in the wagtail admin until I commented out codeblock as an option in the models. Happy to provide anything else you think is useful and sorry I can't be more help.
from wagtailcodeblock.
@thinkingcomputing @wu-changxing I've been unable to reproduce this behavior and have confirmed that Wagtail 5 works with wagtailcodeblock
. From the latest changes pushed to main
, here's what I did:
[email protected]:FlipperPA/wagtailcodeblock.git && cd wagtailcodeblock
python3.11 -m venv venv && . venv/bin/activate
pip install -e .
pip freeze | grep wagtail
yields this, as expected.
wagtail==5.0.2
-e git+ssh://[email protected]/FlipperPA/wagtailcodeblock.git@5bf6b11407f304cd147c9a9f260a82dee24ab32f#egg=wagtailcodeblock
- I create a superuser, and login at http://localhost:8000/cms/
- I navigate to create a new block, and block with code from the demo / test app
- Here's the code block working:
Can you get the same error to appear with the included test app? Thanks!
from wagtailcodeblock.
Apologies @FlipperPA but I didn't use your test app as requested in the message above. However, I did update my development version to your newly released 1.29.0.1 and it worked so I pushed it to production where it also works so it looks like you've fixed it thanks :)
from wagtailcodeblock.
@thinkingcomputing Hooray! I'm glad it is working.
from wagtailcodeblock.
After I merged the newest version, the problem solved! Thank you again!
from wagtailcodeblock.
Related Issues (20)
- Code block moves off screen in editor HOT 4
- Package future with Draftail. HOT 8
- Wagtail React Streamfield Support HOT 3
- PrismJS extremely slow HOT 1
- Replacing a theme HOT 4
- Does it support coderedCMS? HOT 1
- Problem with the code label HOT 2
- Disable line numbering ? HOT 3
- no issues
- Admin Clientside Error - Wagtail Release >= 2.13 HOT 1
- Try using rows instead of the JavaScript hack. HOT 1
- The line numbering and the syntax highlighter doesn't work properly. HOT 14
- Wagtailcodeblock is broken in wagtail 4.2.
- MultiValueDictKeyError in Wagtail 4.2 HOT 3
- 404's for some non existent CDNJS files HOT 2
- Remvove depreciated warning insert_editor_css HOT 2
- difficult to override styles HOT 5
- Switch to Highlight.JS from PrismJS - Discuss HOT 3
- Error ValueError: dictionary update sequence element #0 has length 0; 2 is required when it's rendered as a block HOT 1
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 wagtailcodeblock.