Dotclear 2.24
Loading...
Searching...
No Matches
dcLegacyEditorBehaviors Class Reference

Static Public Member Functions

static adminPostEditor ($editor='', $context='', array $tags=[], $syntax='')
 
static adminPopupMedia ($editor='')
 
static adminPopupLink ($editor='')
 
static adminPopupPosts ($editor='')
 

Static Protected Member Functions

static jsToolBar ()
 

Member Function Documentation

◆ adminPostEditor()

static adminPostEditor (   $editor = '',
  $context = '',
array  $tags = [],
  $syntax = '' 
)
static

adminPostEditor add javascript to the DOM to load legacy editor depending on context

Parameters
string$editorThe wanted editor
string$contextThe page context (post,page,comment,event,...)
array$tagsThe array of ids to inject editor
string$syntaxThe wanted syntax (wiki,markdown,...)
Returns
mixed

References $context, dcPage\jsJson(), dcPage\jsModuleLoad(), and jsToolBar().

◆ adminPopupMedia()

static adminPopupMedia (   $editor = '')
static

References dcPage\jsModuleLoad().

◆ adminPopupLink()

static adminPopupLink (   $editor = '')
static

References dcPage\jsModuleLoad().

◆ adminPopupPosts()

static adminPopupPosts (   $editor = '')
static

References dcPage\jsModuleLoad().

◆ jsToolBar()


The documentation for this class was generated from the following file: