I’ve written an extension that allows for the addition of a Markitup field type, which you can set to Textile or Markdown, or XHTML, etc (on each individual field - note in the picture how each field type can have its own button settings).
I could release it, but I’m goin’ nuts trying to solve one last hard-coded thing under the hood. (I also should make sure the license allows…although I’m not including markitup in the download…you have to go get that yourself)
So if any brave souls who have Extension writing experience would like to try this out, look under the hood and see if anything needs optimizin’, and maybe help me solve the issue (which is pretty much a JavaScript/jQuery issue) so no one ever has to open the ext file for anything, it would be appreciated.
If you’re interested, just PM me and I’ll get you the test files as soon as I can. I may not be up for a while, though…it’s 2:30am here…time for sleep.
Thanks for that. Will check it out later tonight. Your documentation page looks really good. Thanks for releasing this for everyone to take a look at. Much appreciated.
Hi Ryan… running EE locally using MAMP and so far have had no luck getting the MarkItUp controls to appear in my custom field on the Publish page. Followed your instructions to the letter as far as I can tell. I do get the link that says “Disable textile MarkItUp!” above the custome field, but no controls.
@richard: Did you rename the settings variable in textile/set.js to “mySettings_textile”? Also, you put the markitup folder inside your extensions folder? And you DID download the Textile set from Markitup, didn’t you?
I might do a screencast showing how to install this from start to finish, as I think that would probably answer a lot of questions for everyone.
Hi Ryan.. yes, believe it or not, I did do all that! Downloaded all necessary files and the sets, and placed everything in the right places, which is why I am baffled. I am wondering if its a paths problem in the Settings for the extension. Will double-check everything again anyway. Thanks for the swift reply.
I tested this with some other extensions, and didn’t find any conflicts - though this could definitely be that case. Any way we can see what other extensions you have installed?
Just to add to this too. I did all of that too and nothing appears on the text-area apart from the text above it to disable. Only did it all very quickly but did follow your instructions to the letter and have double-checked what I did but still no joy I’m afraid.
Will probably try again tomorrow though unless someone finds out what is wrong. I too was trying this on a Mac using MAMP.
Dang, I think I found an issue with this and other Extensions that may also be calling a jQuery file. I may have to rewrite parts of this - or it could be the other extension…
Hi Ryan, yes I set the path to JQuery in the Settings. Tried relative and absolute paths and still no luck, As I said, I have no other extensions running, nor am I using JQuery anywhere else on my server.
Installation went fine, I did not have any problems whatsoever. Looks pretty good to me right now, did not have the chance to look at the code and at the set problem, but i guess this could be solved somehow by storing the settings files (sets) for each Markitup editor as text in an extension’s database tables. I’ll try to look into it some time soon.
One problem I had though was that the preview of markitup was not showing the text properly e.g. with no formatting, saving the entry into the database was fine and textile plugin displayed everything nicely.