I use JSXGraph in Moodle and would like to render text with MathJax. Could someone provide an example of how this can be done? I have tried all kinds of combinations I could think of based on these sources:
https://jsxgraph.org/wiki/index.php/Using_MathJax
https://jsxgraph.org/docs/symbols/Text.html#useMathJax
If you want to use the MathJax filter from Moodle, the order of the filters is important. Here is a link: https://github.com/jsxgraph/moodle-filter_jsxgraph/blob/master/README.md#using-mathjax-within-the-board
You can also find an example there.
Related
I am using TinyMCE editor.
Is it possible to have two(multiple) selectformat with different options as shown like below image?
Please suggest us, If there is any option or example.
Thank you.
I have a custom extension, and i need to use some form of text editor in the front-end. According to the documentation, it should be possible, but the documentation and tutorials seem to be deprecated. I think this is not available in typo3 7.6 :
require_once(t3lib_extMgm::extPath('rtehtmlarea').'pi2/class.tx_rtehtmlarea_pi2.php');
Can it be done somehow or do i need to install another extension for this, maybe just a viewhelper? Thank you in advance.
I did lots of researches trying to use the rtehtmlarea in the FE, but failed. Then, I realized I could use any RTE, as they are nothing but js+css. All I need is to render the contents with RTE.FE, like how the BE does, and save the result into the database, which is all I want. I have already done this in many sites, using standalone tinymce, and it works great. So, I think maybe you could try this solution.
To be honest, that feature worked only in theory and never in reality. Use an RTE like ckeditor or whatever fits best
I wanted to create inline span of code that links to other page.
I want to use
`MongoCollection`
and
[MongoCollection](#http://php.net/manual/en/class.mongocollection.php)
together to make a link on a code element.
I tried
[`MongoCollection`](#http://php.net/manual/en/class.mongocollection.php)
and
`[MongoCollection](#http://php.net/manual/en/class.mongocollection.php)`
Both didn't work.
Is there any way to do that?
Could you explain a bit more about what you mean by inline span of code? This works in Github and links the MongoCollection link to the Mongo Collection php manual page.
[MongoCollection](http://php.net/manual/en/class.mongocollection.php)
Is that what you are looking for?
I'm using an jquery plugin called Chosen. I see it has a search option available for single select, does anyone know how I can enable it in a case of using multiple select?
Thanks
Chosen search works with multiple select. Check examples on their site
http://harvesthq.github.com/chosen/
If you are asking, how to use it, here is the example:
Html code:
<select multiple class="chzn-select">
Javascript code:
$('.chzn-select').chosen();
And it is done.
For others who may be looking for a live demo there is a great fiddle: http://jsfiddle.net/RVH8D/ which shows a simple implementation of chosen and includes images in the results list.
If you want a multiple change
<select...>
to
<select... multiple="true">
I found a better JS RTE out there and would like to know how to replace the TYPO3 default with the one I found. I googled a lot but couldn't find anything stating how to achieve this.
This is not easily possible without "loosing" many TYPO3 features, because the rtehtmlarea highly integrated into TYPO3.
Especially the link handling is custom, so you would have to write special support to make this work.
A possible replacement is tinemce_rte. It works fairly well, but it does a little more than just replacing the editor with tinymce, e.g. it also adds custom linkhandler support. You can look into this extension if you really want to do this work.
You can download tinyrte or ask in tinyrte forum how to replace htmlarea. Here is the download link: http://typo3.org/extensions/repository/view/tinyrte.