Jump to the post that solved this thread.
Solved: 3 Months, 3 Weeks, 1 Day ago Center / Left / Right Problem
#1
Solved: 3 Months, 3 Weeks, 1 Day ago
Hey, 

I have a mistake with mybb. 

When someone post one thread and try to align text to left or center or right, i got this : 

[Image: 3GqUfUz.png]

I don't no how to fix this. I have made some search before i find something with mycode but it's seem's doen't fix my post ...
Reply
#2
Solved: 3 Months, 3 Weeks, 1 Day ago
(2021-03-01, 12:35 AM)akyna Wrote: Hey, 

I have a mistake with mybb. 

When someone post one thread and try to align text to left or center or right, i got this : 

[Image: 3GqUfUz.png]

I don't no how to fix this. I have made some search before i find something with mycode but it's seem's doen't fix my post ...


The correct code is align=left|right|center not what you did.
Reply
#3
Solved: 3 Months, 3 Weeks, 1 Day ago
(2021-03-01, 12:59 AM)dragonexpert Wrote:
(2021-03-01, 12:35 AM)akyna Wrote: Hey, 

I have a mistake with mybb. 

When someone post one thread and try to align text to left or center or right, i got this : 

[Image: 3GqUfUz.png]

I don't no how to fix this. I have made some search before i find something with mycode but it's seem's doen't fix my post ...


The correct code is align=left|right|center not what you did.


Okay but i use my toolbar i just click on button just here : 

[Image: Wes7djk.png]
So i think my button is broken, where i can fix the code ?
Reply
#4
Solved: 3 Months, 3 Weeks, 1 Day ago
I'm not sure if it will be in the codebuttons template which is under ungrouped templates or if you are going to have to edit one or more of the sceditor files.
Reply
#5
Solved: 3 Months, 3 Weeks, 1 Day ago
I didn't find anything for change code in ungrouped templates so i think it's in sceditor files. I'm tring to solve my problem

If you have any idears of which files should be changed ^^

I have see in official mybb files, the code for center is : [center] [/center]

So i think it's another problem if anyone have this problem
Reply
#6
Solved: 3 Months, 3 Weeks, 1 Day ago
rest your codebuttons template and re-upload the original sceditor files to your jscripts folder and check if it worked !
Reply
#7
Solved: 3 Months, 3 Weeks, 1 Day ago
(2021-03-01, 03:14 PM)PARADOXP Wrote: rest your codebuttons template and re-upload the original sceditor files to your jscripts folder and check if it worked !

I just done it, and it's didn't change anything ... I have the same error ...

OKay i have fixed my problem with this topic : https://community.mybb.com/thread-27833.html

In MyCode

Name: Center tag (or whatever you like)
Regular Expression:
\[center\](.*?)\[/center\]
None
Replacement:
<div style="text-align: center;">$1</div>
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)