janusz
  •  janusz
  • 67.6% (Friendly)
  • YAF Commander Topic Starter
2014-03-10T15:13:09Z
Ref version 2.1.1

Editor defaults to plain text editor even though TinyMCE (HTML) selected with or without user selection checked. Tried other editors and still defaults to plain text editor.

Suggestions?

j
Sponsor
janusz
  •  janusz
  • 67.6% (Friendly)
  • YAF Commander Topic Starter
2014-03-10T20:06:07Z
Attached is pdf file (rar) showing TinyMCE and CKEditor, html and bbcode.
Forum Editor setting: user selection not checked.
Also, previously I mention (different thread) that I had resolved the html coding in posts but that did not remain for some reason.

Thanks,
j
File Attachment(s):
Editors.rar (96kb) downloaded 54 time(s).
janusz
  •  janusz
  • 67.6% (Friendly)
  • YAF Commander Topic Starter
2014-03-11T03:20:39Z
Hi!

I have used TinyMCE for the last couple of years in version 1.9.6. Worked fine except the spellcheck gave up the ghost. I thought going from version 1.9.6 to version 2.1.1 would be an improvement, of course, but never expect to have problems with TinyMCE (HTML).

Uh-oh. I now have users complaining about the "Standard YafBBCode Editor" which I giggled enough to work in the interim but does not have the features to post images, videos, etc. as TinyMCE(HTML) that they demand. Their kind of posting dominates the forum (cardiovascular, biomedical science, integrative medicine researcher and practitioners who post tables, charts, research articles, etc.).

I just need to know...

1. Do the HTML editors actually work in 2.1.1? I did not upgrade to 2.1.0 so do not know if they worked there either.

1a. If so, how best to resolve this? Repeat the upgrade? At this point (18 hours+ playing with this), I'd pay someone to fix this. :-)

1b. If not, unfortunately, then I need to pull the plug on 2.1.1 and get back to 1.9.6 where TinyMCE (HTML) worked. I sure hope so. How is the best way to do that?

I need something to tell the gathering mob with pitchforks about to storm the castle. :-)

Thanks,

j


JP
  •  JP
  • 100% (Exalted)
  • YAF Leader
2014-03-11T17:17:19Z
The TinyMCE(HTML) seems too work for me for editing and posting.

However, the Preview looks like garbage - ie text only.
He who asks a question is a fool for five minutes. He who does not ask a question remains a fool forever. [Old Chinese Proverb]
janusz
  •  janusz
  • 67.6% (Friendly)
  • YAF Commander Topic Starter
2014-03-11T19:15:48Z
Greetings!

Version 2.1.1 seems to be working just fine. There are some minor things that I need to look into but overall it is running except for the editor thingie. lol

TWO Qs:

1. Can TinyMCE and CKEditor versions from their websites be dropped into YAF 'editors' directory and be made to work?
Has anyone ever tried that? How?
I am not programmer, IT, etc., just semi-technical enough to get YAF up and running for a couple of years so may be able to muddle through this also.

2. How can menu be expanded to include to include View, Format, Table, etc.?

Many thanks!

j
tha_watcha
2014-03-13T12:49:42Z
Whoa its hard to follow that post so i try

Quote:

Editor defaults to plain text editor even though TinyMCE (HTML) selected with or without user selection checked. Tried other editors and still defaults to plain text editor.



Where you able to resolve that issue?

Quote:

Attached is pdf file (rar) showing TinyMCE and CKEditor, html and bbcode.
Forum Editor setting: user selection not checked.
Also, previously I mention (different thread) that I had resolved the html coding in posts but that did not remain for some reason.



Thanks for the screenshot that looks like a bug for the message preview, is the message when you posted correctly encoded?
UserPostedImage
janusz
  •  janusz
  • 67.6% (Friendly)
  • YAF Commander Topic Starter
2014-03-13T21:35:09Z
]Yes, I uploaded the 'editors' directory and that resolved some issues. I was only able to get CKEditor (html) to work; TinyMCE (html) show compose box WITHOUT editor menu; output is plain text.

Ref Message Preview. Preview shows messages with html tags but does publish (post) correctly.

Many thanks!

j
tha_watcha
2014-03-14T00:38:06Z
If it doesn't show the tinymce editor, then check the browser console if it shows any JavaScript errors related to the editor.
UserPostedImage
janusz
  •  janusz
  • 67.6% (Friendly)
  • YAF Commander Topic Starter
2014-03-14T05:15:13Z
Hi!

CKEditor (html) works okay.

TinyMCE (html) does not load the menu, only empty/blank compose space. See attached image.
I have used previous 1.9.6 tinymce editor files also; all produce the same empty/blank compose box.
You can type in the compose area, it will preview (no html tags, etc.) and publish (post) the text okay.

Two javascript errors were reported (below).

=================
OPERA browser reports:

[3/13/2014 11:22:21 PM] JavaScript - http://xxx.com/forums/ed.../tiny_mce/tinymce.min.js 
Linked script not loaded

[3/13/2014 11:22:21 PM] JavaScript - http://xxx.com/forums/ya...ge.aspx?t=12225&f=34 
Inline script thread
Uncaught exception: ReferenceError: Undefined variable: tinyMCE
Error thrown at line 1, column 0 in http://xxx.com/forums/ed...iny_mce/tiny_mce_init.js :
tinyMCE.init({

=================
CHROME browser reports:

1. Failed to load resource: the server responded with a status of 404 (Not Found) http://www.xxx.com/forum.../tiny_mce/tinymce.min.js 

2. Uncaught ReferenceError: tinyMCE is not defined

================
FF browser reports:

Error: ReferenceError: tinyMCE is not defined
Source File: http://www.xxx.com/forum...iny_mce/tiny_mce_init.js 
Line: 1

================
Note: FF did not report tinymce.min.js not loading as did Opera and Chrome.

Hope this may lead to a solution.

Thanks,

j
janusz attached the following image(s):
tha_watcha
2014-03-14T06:29:18Z
Does the tinymce.min.js actually exists on the server, in the editor folder?
UserPostedImage
janusz
  •  janusz
  • 67.6% (Friendly)
  • YAF Commander Topic Starter
2014-03-14T07:06:28Z
janusz
  •  janusz
  • 67.6% (Friendly)
  • YAF Commander Topic Starter
2014-03-15T22:46:06Z
SOLVED!
Built TinyMCE html 4.018 from scratch.

Note: YAF Preview shows html tags.

Thanks!
j
janusz attached the following image(s):
janusz
  •  janusz
  • 67.6% (Friendly)
  • YAF Commander Topic Starter
2014-03-15T23:00:01Z
If anyone is interested in using, here is complete file set for TInyMCE (html) -- attached.
j
File Attachment(s):
tiny_mce.zip (260kb) downloaded 51 time(s).

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved