Self-Evident / OneFileCMS

A single file cms - all in one file!
http://onefilecms.com/
166 stars 58 forks source link

ckeditor and tinymce do not appear when clicking edit with... button #32

Open neazoi opened 10 years ago

neazoi commented 10 years ago

ckeditor and tinymce do not appear when clicking edit with... button. The paths are correct I think, the edit button aappears, but when I click on it once, nothing happens. Than if I reftesh the page, the wysiwyg editor tries to open (the source dissapears) but nothing is displayed in this area. I have tried with both editors supported.

mikeydiamonds commented 10 years ago

I'm having this same issue. Tried both Tinymce (4.1.2) and CKEditor (4.4.3). The path to tinymce js file has changed in the version I have to tinymce/js/tinymce/tinymce.min.js.

I click "Edit WYSIWYG" and nothing happens then I click again and the source editor disappears and is replaced by nothing. Same for clicking "Edit Source". I've tried every combination of relative/absolute path in onefilecms.php and the init file and set permissions to 777 on everything just in case. I copied the init files into a plugins folder just like your comments suggest. I hope this helps you narrow down the issue and thanks for this great project.

neazoi commented 10 years ago

Here is my addition. I have embedded a wysiwyg editor inside the same single file :) The editor has some problems, for example to save, you first have to preview the source code, and also it strips some html and body elements, but otherwise it works. Please port it on github for further development, I hate github, it is not obvious how to post things there, very confused. :)

On Thu, Jul 17, 2014 at 5:08 AM, mikeydiamonds notifications@github.com wrote:

I'm having this same issue. Tried both Tinymce (4.1.2) and CKEditor (4.4.3). The path to tinymce js file has changed in the version I have to tinymce/js/tinymce/tinymce.min.js.

I click "Edit WYSIWYG" and nothing happens then I click again and the source editor disappears and is replaced by nothing. Same for clicking "Edit Source". I've tried every combination of relative/absolute path in onefilecms.php and the init file and set permissions to 777 on everything just in case. I copied the init files into a plugins folder just like your comments suggest. I hope this helps you narrow down the issue and thanks for this great project.

— Reply to this email directly or view it on GitHub https://github.com/Self-Evident/OneFileCMS/issues/32#issuecomment-49251127 .

wonzling commented 10 years ago

I have the same issue - how you have embeddet the editor?

mikeydiamonds commented 10 years ago

Sorry wonzling, I have been unable to solve this. It's been a month, maybe Self-Evident has seen this and is working on a fix?

wonzling commented 10 years ago

Thank you for your fast response - Is Self-Evident also here? I have corrected the german languages, and i can also translate in italian languages ... But i need help with the editor ...

Self-Evident commented 8 years ago

I was away from this project for "a while". :) Even now, I have not had time to look into this issue yet. I don't use the wysiwyg editors so the method of integration may have changed. This will be looked into, but it may be a while yet. :)