PANmedia / raptor-editor

Raptor, an HTML5 WYSIWYG content editor!
www.raptor-editor.com
GNU General Public License v3.0
533 stars 136 forks source link

Add new fonts to font menu #161

Open OlegTsarenko opened 10 years ago

OlegTsarenko commented 10 years ago

I added new fonts to font menu but a don't add new translation in order to display correct font name. Is it possible at all? (without edit sources)

http://monosnap.com/image/1bWafe0vfip30EYw5GrneGubJTtiwX

Petah commented 10 years ago

Sorry didn't see this come through.

Did you see the example here: https://github.com/PANmedia/raptor-example/blob/master/examples/google-fonts/example.php#L23-L26

OlegTsarenko commented 10 years ago

ok thx but all function in closure and I don't have access to them

raptor.js http://monosnap.com/image/WqO2dFgzFQQXysZ1P0P05jfuN8w6Ko http://monosnap.com/image/tt4NIFQlxo0mrK8KZeTKr13YfCiDid

How to use it don't modifying source code?

Petah commented 10 years ago

It depends on how you are building Raptor.

You will most likely need to enable "Expose API methods" and call it via Raptor.extendLocale

deeknow commented 8 years ago

hey @OlegTsarenko just checking to see how you got on with the suggestion from @Petah, we will close this support ticket shortly assuming you're ok now