| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
Copy the entire drupalasset folder to the tinymce plugins folder, located within
|
| 5 |
the tinymce module folder at tinymce/jscripts/tiny_mce/plugins.
|
| 6 |
-- OR (for advanced users) --
|
| 7 |
create a symlink to the drupalasset folder so that updates will be less painful!
|
| 8 |
from the command line:
|
| 9 |
cd path/to/tinymce/tinymce/jscripts/tiny_mce/plugins
|
| 10 |
ln -s path/to/asset/tinymce/drupalasset
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
Paste this code into the _tinymce_plugins() function in plugin_reg.php located
|
| 15 |
in the tinymce module folder:
|
| 16 |
|
| 17 |
$plugins['drupalasset'] = array();
|
| 18 |
$plugins['drupalasset']['theme_advanced_buttons3'] = array('drupalasset');
|
| 19 |
$plugins['drupalasset']['extended_valid_elements'] = array('img[class|src|alt|title|width|height|align|macro]');
|
| 20 |
|
| 21 |
|