Giter VIP home page Giter VIP logo

Comments (6)

FlipperPA avatar FlipperPA commented on August 14, 2024 4

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.

thinkingcomputing avatar thinkingcomputing commented on August 14, 2024 1

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.

FlipperPA avatar FlipperPA commented on August 14, 2024 1

@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:
image

Can you get the same error to appear with the included test app? Thanks!

from wagtailcodeblock.

thinkingcomputing avatar thinkingcomputing commented on August 14, 2024

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.

FlipperPA avatar FlipperPA commented on August 14, 2024

@thinkingcomputing Hooray! I'm glad it is working.

from wagtailcodeblock.

wu-changxing avatar wu-changxing commented on August 14, 2024

After I merged the newest version, the problem solved! Thank you again!

from wagtailcodeblock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.