NooTheme Premium WordPress Theme › Forums › JobMonster › wysihtml5-sandbox iFrame Editor deadly issue – please help asap!!!
Tagged: wysihtml5-sandbox
- This topic has 7 replies, 2 voices, and was last updated 1 year, 8 months ago by palmtree.
-
AuthorPosts
-
1 year, 8 months ago #1220055
Hi Jackie,
I should have asked this a long time ago.
As the title says, whenever users use wysihtml5-sandbox iFrame Editor (as a candidate for example) to enter job history or educational history etc in their resume creating process in the Jobmonster UI, this issue happens.The BIG issue is that when I enter text (Japanese use many chinese characters), we use "space" button in computer keyboard to change words to the alternative character (text) . As you may know, Chinese characters use the same sound but have many different words (different strokes to create different words so that meaning changes) And when I hit space to show alternative text to choose, the text disappears.
We need to be able to convert a text that matches what we want to express by keep pressing "space" button to select alternative text. Pressing a space button single times suggest 1 alternative, but hitting the key multiple times make computer suggests more option. We cannot use this editor.
If we hit, edit HTML button then it is fine but plain text mode we can not enter any Japanese or Chinese character because as soon as hit enter, the text disappears (meaning it's gone / deleted).
MCE edit iframe works fine but wysihtml5-sandbox iFrame Editor is deadly.
This makes resume edit almost impossible for any candidate......!Is there anyway to make all the editor the same as MCE?
As you know MCE editor is WordPress default editor and that is fine but Jobmonster's Educational / job history section use different editor.
I inspect the source code and it says "wysihtml5-sandbox".Please help me ASAP!
1 year, 8 months ago #1220056If you cannot change WYSIHTML editor to MCE editor then I at least as a countermeasure need to disable these editors.
Then all the text fields will become just textarea without advanced editing functionalities.
Please tell me how to disable UL class mysihtml5-toolbar and force them to use HTML in textarea.I hope it makes sense.
1 year, 8 months ago #1220057iframe class="wysihtml5-sandbox" security="restricted" allowtransparency="true"
You know there are sections in html source codes that use above code. That is iframe to let users to write in textarea but it's controlled by "wysihtml5-toolbar".
I want you to tell me how to disable this toolbar together with wysihtml5-sandbox iframe.
Or at least forcing it to only use HTML mode while keeping users not seeing actual HTML.It is very difficult to explain.... sorry.
It would be perfect if you could force all the wysihtml5 editor into MCE editor though.
Maybe that's not easy.1 year, 8 months ago #1220058The Attached is the editor I am talking about.
The source code of this is with UI class "wysihtml5-toolbar" and IFRAME class "wysihtml5-sandbox"Attachments:
You must be logged in to view attached files.1 year, 8 months ago #1220064Or forcing the page to click "Edit HTML" button on wysihtml5-toolbar by using JavaScript....
*As I mentioned HTML view mode has no effect with hitting SPACE key.And what I do is to hide that UL wysihtml5-toolbar by using CSS display none.
However, JS code I put in didn't work...
const target = document.getElementsByClassName('.wysihtml5-toolbar .btn.btn-default');
target.click();
1 year, 8 months ago #1220065For the simple solution Jackie, it is to make the editor disable as I don't need them.
Inserting image, making the text bold, list and text alignment etc are not necessary.
Just single text area is fine like seen in many online contact form.1 year, 8 months ago #1220066Hi.
Thank you for contacting us.
I have checked that field with Japanese, I can still input your language. https://i.imgur.com/rX18ZRE.png
But if you don't want to use the wysihtml5 edit for that form, please go to edit the file: /wp-content/themes/noo-jobmonster/layouts/resume/resume_detail.php
find and remove this string on this file: "form-control-editor"
Please recheck it.
Thanks.
1 year, 8 months ago #1220067Thank you very much for your quick response!!
I really appreciated your testing to even type Japanese. That means a lot to me.I don't know why you couldn't replicate the issue though.
I used chrome and IE (edge) and firefox and all had the same issue.At any rate, it is now resolved thanks to your advice, I removed all the string "form-control-editor" from class in the resume_detail.php file so that wysihtml5 editor isn't activated.
Thank you again!
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.