Loading...
 
Skip to main content

History: WYSIWYG_COE

Source of version: 17 (current)

Copy to clipboard
            This is being tested here: http://demo.tiki.org/coe/tiki-index.php

If you want to try it out and help testing/improving, you need to checkout https://tikiwiki.svn.sourceforge.net/svnroot/tikiwiki/branches/experimental/coe

And apply this profile

{maketoc}

!!Set WYSIWYG
Suggest to start with simplest possible profile that can work.

{CODE(caption=>YAML, wrap=1)}
preferences:
 feature_wysiwyg: y
 feature_ajax: y
 wysiwyg_default: y
 wysiwyg_htmltowiki: y
 wysiwyg_toolbar: Bold,Italic,StrikeThrough,tikilink,tikiimage,Link,Unlink,SpecialChar, OrderedList,UnorderedList
{CODE}


Needed?
 feature_wiki_paragraph_formatting: y
 feature_wiki_paragraph_formatting_add_br: y
 wysiwyg_wiki_parsed: y
 wysiwyg_wiki_semi_parsed: y

Works?
 wysiwyg_memo: n
!!Permissions
To let people test

{CODE(caption=>YAML)}
preferences:
 allowRegister: y
 validateUsers: n
objects:
 -
  ref: Test_WYSIWYG_Permissions
permissions:
 Anonymous:
  allow:
   - history
   - view
 Registered:
  description: Will be ignored because group is already created
  allow:
   - edit
 Admins:
  description: All powers
  allow:
   - admin
{CODE}


!!Change look & feel
{CODE(caption=>YAML, wrap=1)}
preferences:
 sitetitle: CoE WYSIWYG test
 sitelogo_src: 
{CODE}


!!Add a test sample page

This will include: ((wysiwyg_sample_page))

{CODE(caption=>YAML)}
instructions: wysiwyg_sample_page
preferences:
  enable: [ feature_wiki ]
objects:
  -
    type: wiki_page
    ref: wysiwyg_sample_page  
    data:
      name: wysiwyg_sample_page 
      description: Just for testing
      lang: en
      content: wikicontent:wysiwyg_sample_page
{CODE}