scriptito/TinyMCE — Issue #3: Need more detailed instructions
Author: theschles
Created: 2011-11-04 22:06:58+00:00
State: open

Ok, I'm a n00b on TinyMCE (and JavaScript). The instructions need a little more detail.

I was able to get these things done, so I see the plugin's output:

```
Extract the whole s_textmetrics directory into your TinyMCE plugins directory,
Make sure the “s_textmetrics/text-utils.js” file is included in your page (this file contains the code that actually generates the metrics)
Register the s_textmetrics plugin with your TinyMCE editor by adding the “s_textmetrics” literal to your plugins string,
```

But there should be a line in tinyMCE.init for:
`s_textmetrics_on : "true"`

Or the data doesn't display!

```
Optional – Add the “toggle_metrics” button to one of your button bars – you can omit this if you don’t want your users to be able to toggle the metrics on and off
````

Got it.

```
Make sure your stylesheet has entries for the .mce_toggle_metrics and .metrics classes in order to properly style the toggle button & the metrics bar. An example is included in the ui.css file included with the plugin.
```
Still working on this...