FM Design
Would you like to react to this message? Create an account in a few clicks or log in to continue.

IMPORTANT

FM Design is in read-only mode, please click here for more information.

Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49

» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21

» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28

» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15

» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11

» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24

» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58

» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50

» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22

» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12

» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10

» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51

» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11

» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19

» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34

Recent Tutorials
Top posting users this month

Who is online?
In total there are 28 users online :: 0 Registered, 0 Hidden and 28 Guests :: 1 Bot

None

[ View the whole list ]


Most users ever online was 515 on Tue 14 Sep 2021, 15:24

textarea Problem

View previous topic View next topic Go down

bodahassan
bodahassan

Gender : Male
Posts : 28
Points : 2835
Reputation : 0
Location : Egypt
Language : arabic
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB3

Postbodahassan Tue 23 Aug 2016, 14:05

[ltr]Good evening
I have some problems in the editor box when you add it to a page I currently edited
The first problem shows 2 textarea and I don't know the cause of the problem  textarea Problem 1f635  textarea Problem 1f635 


textarea Problem 023-2311

I've added this editor and it works fine on this page : http://sd.koutstore.com/h3-page




The second problem: when pressing the switch editor mode button editor disappears


textarea Problem 023-2310



This is the page for preview

http://sd.koutstore.com/h6-page



For you [/ltr]


Last edited by bodahassan on Tue 23 Aug 2016, 18:49; edited 1 time in total
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12014
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Tue 23 Aug 2016, 14:13

Hhi @bodahassan,

I believe the problem may be because the editor is hidden by default. What happens when you have the editor displayed by default ?
bodahassan
bodahassan

Gender : Male
Posts : 28
Points : 2835
Reputation : 0
Location : Egypt
Language : arabic
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB3

Postbodahassan Tue 23 Aug 2016, 14:16

[ltr]Sorry @Ange Tuteur but I don't understand your question[/ltr]
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12014
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Tue 23 Aug 2016, 14:40

On this page the editor is not visible :
http://sd.koutstore.com/h6-page
Once you press next it's visible.


Try making the editor visible without having to hit "next".

I'm assuming the issue of two textareas has to do something with this. But I need to confirm that theory first. Think
bodahassan
bodahassan

Gender : Male
Posts : 28
Points : 2835
Reputation : 0
Location : Egypt
Language : arabic
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB3

Postbodahassan Tue 23 Aug 2016, 15:09

I tried hard to fix these problems, but it didn't work with me.
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12014
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Tue 23 Aug 2016, 15:59

Find the fieldset tag that the textarea for the editor is in, and add these attributes to it :
Code:
id="message_box" style="display:block !important;"

so you get this :
Code:
<fieldset id="message_box" style="display:block !important;">

After that, find this script :
Code:
                <script>$(function() {$(function() {
                  var instance = $('#text_editor_textarea').sceditor('instance');
             
                  if (instance.inSourceMode()) {
                    instance.toggleSourceMode();
                  }
                 
                })});</script>

and replace it with this :
Code:
                <script>$(function() {$(function() {
                  var instance = $('#text_editor_textarea').sceditor('instance');
             
                  if (instance.inSourceMode()) {
                    instance.toggleSourceMode();
                  }
                 
                  $('#message_box').hide();
                })});</script>
bodahassan
bodahassan

Gender : Male
Posts : 28
Points : 2835
Reputation : 0
Location : Egypt
Language : arabic
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB3

Postbodahassan Tue 23 Aug 2016, 18:38

thanks @Ange Tuteur But there is a problem in the Editor's width

textarea Problem 23242310
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12014
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Tue 23 Aug 2016, 18:44

@bodahassan add this CSS to the HTML page or your stylesheet :
Code:
#message_box .sceditor-container iframe, #message_box .sceditor-container textarea {
  width:100% !important;
}
bodahassan
bodahassan

Gender : Male
Posts : 28
Points : 2835
Reputation : 0
Location : Egypt
Language : arabic
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB3

Postbodahassan Tue 23 Aug 2016, 18:48

solved >>>  textarea Problem 1f44d

thanks @Ange Tuteur
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12014
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Tue 23 Aug 2016, 18:54

You're welcome ! ^^

Topic archived

Have a good day. Smile
Sponsored content

PostSponsored content

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum