Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#21 2016-03-05 11:43:50

kuopassa
Plugin Author
From: Porvoo, Finland
Registered: 2008-12-03
Posts: 205
Website

Re: kuo_ace: syntax highlighter for Textpattern

Uhm, I don’t quite understand your question. Please expand it a bit. :-)

Offline

#22 2016-03-05 12:44:07

jpdupont
Member
From: Virton (BE)
Registered: 2004-10-01
Posts: 752
Website

Re: kuo_ace: syntax highlighter for Textpattern

I want to improve the readability of the textile tags for the user. Put a little background color or a text color more visible.

Offline

#23 2016-03-05 17:10:23

kuopassa
Plugin Author
From: Porvoo, Finland
Registered: 2008-12-03
Posts: 205
Website

Re: kuo_ace: syntax highlighter for Textpattern

I might code a feature for custom CSS or something, but meanwhile you can modify the plugin’s source code. You should find this place:

});
});
</script>

Then you can change it to:

});
$(".ace_editor").css({"background-color":"white","font-size":"200%"});
});
</script>

That way you can insert CSS with jQuery to the .ace_editor selector.

Offline

#24 2016-03-05 17:58:49

jpdupont
Member
From: Virton (BE)
Registered: 2004-10-01
Posts: 752
Website

Re: kuo_ace: syntax highlighter for Textpattern

Thanks ! I ll investigate this way !

Offline

#25 2019-04-01 18:20:46

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,330
Website

Re: kuo_ace: syntax highlighter for Textpattern

Has anyone tried to use this lately? I installed it and then I couldn’t get anything to save.

I assume there has been some backend stuff that changed.

Offline

#26 2020-09-03 13:04:51

Myusername
Member
Registered: 2019-12-12
Posts: 73

Re: kuo_ace: syntax highlighter for Textpattern

michaelkpate wrote #317444:

Has anyone tried to use this lately? I installed it and then I couldn’t get anything to save.

I assume there has been some backend stuff that changed.

It’s been a while since you asked, but anyway, it’s working on Textpattern v4.8.2. The only problem, which I don’t know for what reason, is defined in the plugin code as “text”, not HTML. In this way, the colors in the tags do not work. But just switch to HTML mode and everything works perfectly.

Offline

Board footer

Powered by FluxBB