Giter VIP home page Giter VIP logo

Comments (5)

metaodi avatar metaodi commented on July 28, 2024

@formwandler this issue might be fixed with #19, as there is now a possibility to use "native" HTML. WDYT?

from ckanext-pages.

formwandler avatar formwandler commented on July 28, 2024

@metaodi Does this mean that elements like <img> can be used in combination with Markdown like described in #1332? If so, this issue #3 can be closed.

Unfortunately, I don't have CKAN >= 2.3 installed, so I can't test it right now.
Thanks for your work on this!

from ckanext-pages.

metaodi avatar metaodi commented on July 28, 2024

@formwandler yes, by enabling HTML you can use both Markdown and HTML. There is no limitation to certain tags, so everything is allowed (including potentially nasty stuff like <script>). But if you trust your users, this option can help you add more advanced content with ckanext-pages.

Therefore, I consider this issue fixed.

from ckanext-pages.

formwandler avatar formwandler commented on July 28, 2024

Okay, great.

However, why do I need to trust "my users"? On my site only admins can edit those pages. I can't remember if I explicitly set permissions for this extension (or if this is possible at all). So, I just need to trust my admins, right?

from ckanext-pages.

metaodi avatar metaodi commented on July 28, 2024

Yes that's correct. There might be CKAN instances, where people can register and then create pages. In those cases, you need to "trust" the users.

from ckanext-pages.

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.