Resource icon

XF 1 Tip How to add webfonts to your XenForo forum so that they work in the text editor

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,959
Points
823

Reputation:

LQD submitted a new resource:

How to add webfonts to your XenForo forum so that they work in the text editor - A method of adding webfonts to your XenForo site that works with the Redactor text editor.

There is an issue with the Redactor rich text editor used for editing posts. Webfonts linked in the XenForo site don't work in it. The problem is because it uses an iFrame, which is a separate environment and doesn't have access to the loaded webfonts in the main frame.

The solution to this is to include your webfont CSS in both the main and editor CSS.
So here's the tutorial...

How to add webfonts to your XenForo site so that they work in the text editor!

1. In the Admin...

Read more about this resource...
 
Top