He did, but he did not say whenCarpCharacin wrote: ↑Tue Sep 20, 2016 2:13 am I am not quite sure what templates to put the SCE code into. I plan to have the editor files in/editor/
.
PHPBB3-10418 - WYSIWYG Editor/Rich Text Editor
Re: PHPBB3-10418 - WYSIWYG Editor/Rich Text Editor
David
Remember: You only know what you know -
and you do not know what you do not know!
Remember: You only know what you know -
and you do not know what you do not know!
- CarpCharacin
- Registered User
- Posts: 55
- Joined: Fri Mar 18, 2016 4:49 am
Re: PHPBB3-10418 - WYSIWYG Editor/Rich Text Editor
I think that his integration is a lot more advanced than what I am trying to do, but I think that we should try to do a basic integration. The pull request would consist of adding a new
/editor/
folder and some template edits to add the editor.- DavidIQ
- Customisations Team Leader
- Posts: 1904
- Joined: Thu Mar 02, 2006 4:29 pm
- Location: Earth
- Contact:
Re: PHPBB3-10418 - WYSIWYG Editor/Rich Text Editor
That can already be done using an extension so we're not really looking to add "basic" functionality, unless you're planning to add it to your own local repository to then implement the rest of the needed functionality. The biggest hurdle has been, and still is custom BBCodes.
- CarpCharacin
- Registered User
- Posts: 55
- Joined: Fri Mar 18, 2016 4:49 am
Re: PHPBB3-10418 - WYSIWYG Editor/Rich Text Editor
The editor supports BBCodes.DavidIQ wrote: ↑Tue Sep 20, 2016 7:36 pm That can already be done using an extension so we're not really looking to add "basic" functionality, unless you're planning to add it to your own local repository to then implement the rest of the needed functionality. The biggest hurdle has been, and still is custom BBCodes.
Code: Select all
<script>
$(function() {
// Replace all textarea's
// with SCEditor
$("textarea").sceditor({
plugins: "bbcode",
style: "minified/jquery.sceditor.default.min.css"
});
});
</script>
- DavidIQ
- Customisations Team Leader
- Posts: 1904
- Joined: Thu Mar 02, 2006 4:29 pm
- Location: Earth
- Contact:
Re: PHPBB3-10418 - WYSIWYG Editor/Rich Text Editor
Custom BBCodes. They're not the same as standard BBCodes.
Re: PHPBB3-10418 - WYSIWYG Editor/Rich Text Editor
I've never heard of a forum software that renders custom BBCodes in their rich text editor. Best to focus on core BBCodes and perhaps down the line allow to map some of the custom BBCodes to the equivalent editor's feature, such as highlighted spans, font style, etc...
- CarpCharacin
- Registered User
- Posts: 55
- Joined: Fri Mar 18, 2016 4:49 am
Re: PHPBB3-10418 - WYSIWYG Editor/Rich Text Editor
+1JoshyPHP wrote: ↑Tue Sep 20, 2016 7:50 pm I've never heard of a forum software that renders custom BBCodes in their rich text editor. Best to focus on core BBCodes and perhaps down the line allow to map some of the custom BBCodes to the equivalent editor's feature, such as highlighted spans, font style, etc...
Re: PHPBB3-10418 - WYSIWYG Editor/Rich Text Editor
How about if phpBB is the firstJoshyPHP wrote: ↑Tue Sep 20, 2016 7:50 pm I've never heard of a forum software that renders custom BBCodes in their rich text editor. Best to focus on core BBCodes and perhaps down the line allow to map some of the custom BBCodes to the equivalent editor's feature, such as highlighted spans, font style, etc...
![Wink ;)](./images/smilies/icon_e_wink.gif)
Re: PHPBB3-10418 - WYSIWYG Editor/Rich Text Editor
I think it's better to create an attainable goal rather than set up a moonshot. Having a basic, usable RTE soon would benefit the users more than having a very complicated RTE at some indeterminate point in the future.
Plus, reaching small manageable goals feels rewarding and motivates people to go forward to bigger things. Big, seemingly unattainable goals can demotivate and lead to burnout.
Plus, reaching small manageable goals feels rewarding and motivates people to go forward to bigger things. Big, seemingly unattainable goals can demotivate and lead to burnout.
Re: PHPBB3-10418 - WYSIWYG Editor/Rich Text Editor
Absolute right. Custom bbcodes can't work, and will not work in RTE.JoshyPHP wrote: ↑Wed Sep 21, 2016 10:51 am I think it's better to create an attainable goal rather than set up a moonshot. Having a basic, usable RTE soon would benefit the users more than having a very complicated RTE at some indeterminate point in the future.
Plus, reaching small manageable goals feels rewarding and motivates people to go forward to bigger things. Big, seemingly unattainable goals can demotivate and lead to burnout.
Especially since the new text parser is too complex with xsl:choose bbcodes.