Comments (15)
Doesn't look like anything to me...
😛 Seriously though, that looks ok?
from nodebb-plugin-composer-redactor.
Are you referring to the "Replying to ..." text missing, or what?
from nodebb-plugin-composer-redactor.
Sorry I wasn't very clear. It used to look like this
from nodebb-plugin-composer-redactor.
I can't manually edit html for example
from nodebb-plugin-composer-redactor.
Yes, I believe the tagging is at the bottom now, and the toolbar options have changed as we've updated to the newest version of Redactor, which does not have the same plugins as the old.
from nodebb-plugin-composer-redactor.
Sorry to post here again but I have been trying to uninstall and install the composers and now I see this on the console.
nodebb.min.js?2b902572-9711-435a-91d8-7c8e4ec8c093:20 Uncaught TypeError: Cannot read property 'newTopic' of undefined
at nodebb.min.js?2b902572-9711-435a-91d8-7c8e4ec8c093:20
at dispatch (nodebb.min.js?2b902572-9711-435a-91d8-7c8e4ec8c093:2)
at m.handle (nodebb.min.js?2b902572-9711-435a-91d8-7c8e4ec8c093:2)
at Object.trigger (nodebb.min.js?2b902572-9711-435a-91d8-7c8e4ec8c093:3)
at nodebb.min.js?2b902572-9711-435a-91d8-7c8e4ec8c093:3
at Function.each (nodebb.min.js?2b902572-9711-435a-91d8-7c8e4ec8c093:1)
at v.fn.init.each (nodebb.min.js?2b902572-9711-435a-91d8-7c8e4ec8c093:1)
at v.fn.init.trigger (nodebb.min.js?2b902572-9711-435a-91d8-7c8e4ec8c093:3)
at Object.app.newTopic (nodebb.min.js?2b902572-9711-435a-91d8-7c8e4ec8c093:11)
at HTMLButtonElement. (nodebb.min.js?2b902572-9711-435a-91d8-7c8e4ec8c093:10)
I wonder if this all related to NodeBB/NodeBB#5381 which I have just posted.
I seem to be in a bit of a mess.
from nodebb-plugin-composer-redactor.
If I run ./nodebb dev I see these warnings
19/1 20:04:16 [24049] - warn: [plugins/load] File not found: /home/ec2-user/nodebb/node_modules/nodebb-plugin-composer-default/static/lib/composer.js (Ignoring)
19/1 20:04:16 [24049] - warn: [plugins/load] File not found: /home/ec2-user/nodebb/node_modules/nodebb-plugin-composer-default/static/lib/composer/autocomplete.js (Ignoring)
19/1 20:04:16 [24049] - warn: [plugins/load] File not found: /home/ec2-user/nodebb/node_modules/nodebb-plugin-composer-default/static/lib/composer/categoryList.js (Ignoring)
19/1 20:04:16 [24049] - warn: [plugins/load] File not found: /home/ec2-user/nodebb/node_modules/nodebb-plugin-composer-default/static/lib/composer/controls.js (Ignoring)
19/1 20:04:16 [24049] - warn: [plugins/load] File not found: /home/ec2-user/nodebb/node_modules/nodebb-plugin-composer-default/static/lib/composer/drafts.js (Ignoring)
19/1 20:04:16 [24049] - warn: [plugins/load] File not found: /home/ec2-user/nodebb/node_modules/nodebb-plugin-composer-default/static/lib/composer/formatting.js (Ignoring)
19/1 20:04:16 [24049] - warn: [plugins/load] File not found: /home/ec2-user/nodebb/node_modules/nodebb-plugin-composer-default/static/lib/composer/preview.js (Ignoring)
19/1 20:04:16 [24049] - warn: [plugins/load] File not found: /home/ec2-user/nodebb/node_modules/nodebb-plugin-composer-default/static/lib/composer/resize.js (Ignoring)
19/1 20:04:16 [24049] - warn: [plugins/load] File not found: /home/ec2-user/nodebb/node_modules/nodebb-plugin-composer-default/static/lib/composer/tags.js (Ignoring)
19/1 20:04:16 [24049] - warn: [plugins/load] File not found: /home/ec2-user/nodebb/node_modules/nodebb-plugin-composer-default/static/lib/composer/uploads.js (Ignoring)
from nodebb-plugin-composer-redactor.
Just rand ./nodebb upgrade again. That seems to have helped with the file not founds an newTopic undefined.
I'll look into the changes to redactor. I may use the old version since I can't see and edit html button which is useful.
Thanks
from nodebb-plugin-composer-redactor.
I see what has happened with redactor. I need to add the source code plugin to redactor to get the html edit back. Any ideas how to do this in NodeBB?
https://imperavi.com/redactor/plugins/source/
from nodebb-plugin-composer-redactor.
Never mind. It says in the post I just sent you. :)
from nodebb-plugin-composer-redactor.
<script src="/js/redactor/plugins/source.js"></script>
<script type="text/javascript">
$(function()
{
$('#redactor').redactor({
plugins: ['source']
});
});
from nodebb-plugin-composer-redactor.
i bet that new text icons would be horrible on mobile
it is possible to get back to simple icons
https://imperavi.com/redactor/examples/buttons-default-icons/
from nodebb-plugin-composer-redactor.
Hi @JonathanWatkins -- the source editing has been removed as it was easy to input incorrect html which would cause the NodeBB template to break. We've elected to keep it out until some sort of automatic html validator is implemented, but that is low priority for us.
If you want to use the source plugin, you can definitely modify the redactor.core.js
file to add the plugin in 👍 Just keep in mind that future changes may conflict, so you will need to learn the git commands to resolve them.
from nodebb-plugin-composer-redactor.
Could we add an admin setting to enable to HTML plugin?
from nodebb-plugin-composer-redactor.
No objections to that 👍
from nodebb-plugin-composer-redactor.
Related Issues (20)
- Add link button doesn't do anything HOT 3
- Composer window sizing doesn't work as expected HOT 16
- image upload not working with imgur HOT 1
- Tables / Links / Lists not shown HOT 3
- Table --> Isert row above , report an error
- Set the composer text direction rtl or ltr? HOT 4
- Problems with NodeBB 1.6.1 (Selection Straddles to end of Previous Line) HOT 10
- Tenor GIF button not visible in the toolbar HOT 1
- Upload files not working with NodeBB 1.8.1 HOT 12
- autocomplete drop-down of @mention shown during composing HOT 4
- Error on Internet Explorer HOT 1
- File Upload Error Handler HOT 2
- Change the color of the text.
- XSS Problem HOT 2
- Mobile composer header bar broken
- Is there any hook or api for us to add a custom toolbar button?
- Mentions don't work in Safari HOT 4
- Fileupload no longer possible since NodeBB 1.13.4 HOT 1
- Incompatibility with last version of nodebb 1.16.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodebb-plugin-composer-redactor.