Skip to content

Instantly share code, notes, and snippets.

Henrik Kok Jørgensen hkjorgensen

Block or report user

Report or block hkjorgensen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hkjorgensen
hkjorgensen / theme.js
Created Jul 18, 2016
A dirty hack that modifies the "modern" TinyMCE theme, so it always shows the toolbar when in `inline` mode.
View theme.js
import tinymce from 'tinymce/tinymce'
tinymce.ThemeManager.add('inbox', function (editor) {
var self = this
var settings = editor.settings
var Factory = tinymce.ui.Factory
var each = tinymce.each
var DOM = tinymce.DOM
var Rect = tinymce.geom.Rect
var FloatPanel = tinymce.ui.FloatPanel
View keybase.md

Keybase proof

I hereby claim:

  • I am hkjorgensen on github.
  • I am hkjorgensen (https://keybase.io/hkjorgensen) on keybase.
  • I have a public key whose fingerprint is 5FA7 AE04 5990 0E0B BC38 A9E2 B249 CF40 5A29 D5E7

To claim this, I am signing this object:

View gist:6318410
[
{
"title": "Nyheder med en ny menu"
"body": ""
"date": 0,
"nodes": [
{ "title": "", "body":"", "date": 0, "nodes": [] },
{ "title": "", "body":"", "date": 0, "nodes": [] },
{ "title": "", "body":"", "date": 0, "nodes": [] },
{ "title": "", "body":"", "date": 0, "nodes": [] }
View gist:5003637
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="595px"
height="842px" viewBox="0 0 595 842" enable-background="new 0 0 595 842" xml:space="preserve">
<g id="kommuner">
<g id="hjørring">
</g>
<g id="Frederikshavn" display="none">
</g>
View gist:2917982
require.config({
paths: {
jQuery: "libs/jquery/jquery-1.7.2.min",
Underscore: "libs/underscore/underscore-1.3.3.min",
Backbone: "libs/backbone/backbone-0.9.2.min"
// Mustache: "libs/mustache/mustache"
},
shim: {
Underscore: {
exports: '_'
You can’t perform that action at this time.