Code Monkey home page Code Monkey logo

cmsplugin-markup's Introduction

cmsplugin-markup

An extendable markup content plugin for Django CMS. It allows you to use various markup languages for content. It is extendable through its own markup plugin system so additional markup languages can be supported. By default it supports Markdown, reST, Textile and Creole markup languages.

There is also a html dummy plugin, to add html code directly into a cms page.

Documentation is found at:

http://cmsplugin-markup.readthedocs.org/

cmsplugin-markup's People

Contributors

dstufft avatar gpkc avatar jedie avatar mitar avatar stereoit avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

cmsplugin-markup's Issues

many updates needed...

It seems that cmsplugin-markup is outdated :(

Can't be used with django1.7, python 3 and cms 3.0.10...

e.g: for cms 3.0.10 it seems a big part is: https://github.com/mitar/cmsplugin-markup/blob/master/cmsplugin_markup/templates/cmsplugin_markup/markup_plugin_change_form.html
Last commit is for Django CMS 2.3

for django1.7: migrations (done here: https://github.com/jedie/cmsplugin-markup/compare/django1.7 )
and new unicode stuff: https://docs.djangoproject.com/en/1.7/topics/python3/#string-handling

I started some branches: https://github.com/jedie/cmsplugin-markup/branches

But maybe it will be easier to merge all into one branch?!?

AttributeError: 'CMSPlugin' object has no attribute 'markupfield'

...
  File "/home/jens/PyLucid_env/src/pylucid/pylucid_migration/management/commands/migrate_pylucid.py", line 187, in _migrate_page
    page.publish(pagemeta.language.code)
  File "/home/jens/PyLucid_env/lib/python3.5/site-packages/cms/models/pagemodel.py", line 703, in publish
    self._copy_contents(public_page, language)
  File "/home/jens/PyLucid_env/lib/python3.5/site-packages/cms/models/pagemodel.py", line 395, in _copy_contents
    copy_plugins_to(plugins, ph)
  File "/home/jens/PyLucid_env/lib/python3.5/site-packages/cms/utils/copy_plugins.py", line 48, in copy_plugins_to
    new_instance.post_copy(old_plugin, plugins_ziplist)
  File "/home/jens/PyLucid_env/src/cmsplugin-markup/cmsplugin_markup/models.py", line 78, in post_copy
    self.body = utils.replace_plugins(old_instance.markupfield.body, replace_ids, self.markup)
AttributeError: 'CMSPlugin' object has no attribute 'markupfield'

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.