-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There are many formatting errors in BBcode #963
Comments
This comment was marked as duplicate.
This comment was marked as duplicate.
All errors have been resolved by me 👌 |
Hey @sulaiman0dawod would love to see those changes for bbcode. Have some issues with the [url] functionality. Regards Fabian |
Hi Fabian - @Sw0rdf1sh1 In the sceditor.min.js file
Find:
Find:
Find:
In the bbcode.js file
And replace it:
that's it. The results are excellent Example of centering all text with empty lines This includes all other BBcodes. (Bold - Italic - [u] - [s] ...) |
Hey @sulaiman0dawod, thank your very much for your detailled instructions on how to fix this bbcode.js for the sceditor. I will adapt my settings and adjust some [url] & [url=https://...]Text[/url], because these aren't working properly for me. |
I did not notice any errors in the [url] It works well Check the following codes in your editor whether they are similar or not
and in the file:
If the problem is not resolved, please attach the editor files
|
With the source
Also on the Bold button
![1](https://private-user-images.githubusercontent.com/15679600/328176243-b6f66b45-8f45-4f2b-b4a9-d5cb4454b0ff.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3NjM0ODksIm5iZiI6MTcyNTc2MzE4OSwicGF0aCI6Ii8xNTY3OTYwMC8zMjgxNzYyNDMtYjZmNjZiNDUtOGY0NS00ZjJiLWI0YTktZDVjYjQ0NTRiMGZmLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA4VDAyMzk0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRiYzBhZTc1YzI4ZDkyYjc0NzNjNDc1Njk3YjM2Zjg3YmZmNjY5OGI5ZjM2NjZjMmNkMTExMjFhYTg0MGQ0YzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.pvaC8ooZ1W83w7tKwbRmd3YucYxwrhjNmYuSkMNrY6c)
![1 05](https://private-user-images.githubusercontent.com/15679600/328176930-5bd86833-ab58-432f-89e2-7b67b30f6ec1.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3NjM0ODksIm5iZiI6MTcyNTc2MzE4OSwicGF0aCI6Ii8xNTY3OTYwMC8zMjgxNzY5MzAtNWJkODY4MzMtYWI1OC00MzJmLTg5ZTItN2I2N2IzMGY2ZWMxLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA4VDAyMzk0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJiNGIxNTViZDc3NDNkZjA2Mjk4YmQ1OTUyYmFjN2UyNGFjNjA4MWU2N2YwOTcyOTQwZDU3YmY0YWYxYzMwMGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Hhw-Qavb6QoeI8IDby64qLtl-iSRbLHR8w6tRkgeNsU)
Each line has BBcode added to it, not all at once
Clicked
With the source
These errors must be fixed 😑
3. Undo buttons must be added Without installing any plugin or relying on keyboard buttons
The text was updated successfully, but these errors were encountered: