Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

# -*- coding: UTF-8 -*- 

# Copyright 2011-2015 Luc Saffre 

# License: BSD (see file COPYING for details) 

 

from django.conf import settings 

from lino.utils.instantiator import Instantiator 

 

 

def objects(): 

    tft = Instantiator('tinymce.TextFieldTemplate', 

                       "name description text").build 

 

    yield tft("hello", "Inserts 'Hello, world!'", """<div>Hello, world!</div>""") 

    #~ yield tft("mfg","",'<p>Mit freundlichen Gr&uuml;&szlig;en<br><p class="data_field">root</p>') 

    yield tft("mfg", "", '<p>Mit freundlichen Gr&uuml;&szlig;en<br><p>{{request.subst_user or request.user}}</p>')