Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2016-04-10 21:18:21

alivato
Member
Registered: 2011-03-31
Posts: 151

How to connect the wysiwyg WysiBB editor

There is a good wysiwyg editor WysiBB

www.wysibb.com

Static page create some html file and paste this (all work):

<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<!-- Load jQuery  -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<!-- Load WysiBB JS and Theme -->
<script src="http://cdn.wysibb.com/js/jquery.wysibb.min.js"></script>
<link rel="stylesheet" href="http://cdn.wysibb.com/css/default/wbbtheme.css" />
<!-- Init WysiBB BBCode editor -->
<script>
$(function() {
  $("#editor").wysibb();
})
</script>
</head>
<body>
  <textarea id="editor"></textarea>
</body>
</html>

But how to get to work this editor in the admin panel Textpattern ?
In Content – Write

To paste the code?
How to connect?

Last edited by alivato (2016-04-10 21:20:43)

Offline

#2 2016-04-11 10:31:30

etc
Developer
Registered: 2010-11-11
Posts: 5,028
Website GitHub

Re: How to connect the wysiwyg WysiBB editor

I have not tried it, but with bot_wtc plugin saving

<!-- Load WysiBB JS and Theme -->
<script src="http://cdn.wysibb.com/js/jquery.wysibb.min.js"></script>
<link rel="stylesheet" href="http://cdn.wysibb.com/css/default/wbbtheme.css" />
<!-- Init WysiBB BBCode editor -->
<script>
$(function() {
  $("#body").wysibb();
})
</script>

in script field should suffice.

Offline

#3 2016-04-11 23:33:46

alivato
Member
Registered: 2011-03-31
Posts: 151

Re: How to connect the wysiwyg WysiBB editor

Big thx etc

Offline

Board footer

Powered by FluxBB