All posts tagged “html

comment 0

Meteor and React: Markdown editor with draft.js and marked.js

Recently I switched my current project from Meteor 1.2 to 1.3. While doing so I reworked the code for my markdown editor. When created the markdown editor in the first place I learned about the necessity of a solid platform to build web editors. So this time I used draft.js as base. Facebook open sourced draft.js a few months ago. They use it almost everywhere on Facebook page, so it should be well-tested.

The markdown editor you’re going to build has these features:

  • Instant html preview rendering
  • Support for GitHub flavoured syntax and markdown tables
  • Drag and drop file upload.
  • Copy and paste file upload.

Optionally: File upload with Meteor and FS Collection.
Read More

comment 1

Add Piwik tracking code to your Koken site

Sadly there’s no native Piwik plugin for the Koken photography CMS.
However you can use another plugin the inject the tracking code to the footer of your site.

  • Install the HTML Injector plugin (Site > Settings > Plugin > Download Plugins).
  • Enable the plugin (Site > Settings > Plugin > HTML injector > Enable).
  • Setup the plugin (Site > Settings > Plugin > HTML injector > Setup).
  • Copy the tracking code of your Piwik site (Piwik > Administration > Websites > [site] > View Tracking code).
  • Paste the code into the footer field and save it.

Well done, your visitors are tracked now.

Source

lars-mielke.de – Piwik Integration in Koken