Closed iso100 closed 12 years ago
That was the case, yes. EpicEditor needs to be instantiated per-ID. Just added this feature.
Oh, awesome! I'll yank this down and give it a test. Thanks! On Sep 25, 2012 8:34 AM, "Jack McDade" notifications@github.com wrote:
That was the case, yes. EpicEditor needs to be instantiated per-ID. Just added this feature.
— Reply to this email directly or view it on GitHubhttps://github.com/statamic/Fieldtype-EpicEditor/issues/2#issuecomment-8852430.
I'm getting some JS erros with this new update:
Uncaught ReferenceError: $ is not defined
And the code:
<script type='text/javascript'>
var editor_ = new EpicEditor({
container: 'epiceditor-',
basePath: 'https://raw.github.com/OscarGodson/EpicEditor/develop/epiceditor',
clientSideStorage: false,
file: {
defaultContent: $('#epiceditor--textarea').val(),
There are two of the above followed by one that does have an id #. I think it might be my use of the epiceditor fieldtype in a Grid.
Reverted the grid field types to textarea and still get an error on the "content" field.
<script type='text/javascript'>
var editor_11 = new EpicEditor({
container: 'epiceditor-11',
basePath: 'https://raw.github.com/OscarGodson/EpicEditor/develop/epiceditor',
clientSideStorage: false,
file: {
defaultContent: $('#epiceditor-11-textarea').val(),
Ah yes, Grid support isn't officially added yet. I guess I'll need to use a different method to initialize these bad boys...
On Sep 25, 2012, at 8:56 AM, iso100 notifications@github.com wrote:
I'm getting some JS erros with this new update:
Uncaught ReferenceError: $ is not defined And the code:
Githubissues.Githubissues is a development platform for aggregating issues.
Seems as though only one at a time works right now. What needs to be done so that multiple instances on the same page are possible?