Magic Value

When this feature is enabled new tags will be able to automatically receive contents that have been selected before inserting the text.


  1. Configuration

1 Configuration


// Enables the feature 
// When inserting a new tag in the live editor or Aloha, 
// the current selection will automatically be inserted 
// into any part of the tag having one of the keynames 
// configured in the array
// default value: text
$MAGIC_PART_NAMES = array("text");