Python Forum
Created a plugin for our code tags
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Created a plugin for our code tags
#11
The plugin has been reactivated, and all the bugs previously mentioned seem to have been resolved.
  • [php] and [code] tags are now happily pretending to be [python]
  • [error] and [output] tags now have newlines (the MinifyHTML plugin was causing problems)
  • [icode] tags only work on a single line
  • symbols (©, ™, ®) re-enabled
  • preview displayed correctly (the problem was just css not being included in the preview page)

If anyone notices any further problems,let me know.
#12
[Image: WoKjJEt.png]


[Image: VuzgImC.png]
#13
@[Kebap] Doesn't happen to me. Maybe it happened while I was tweaking the settings? Or does it still happen now?
#14
All the output tags are massacred for me now as in Kebap's post.
#15
Looks okay for me now.
Remember update css(ctrl+f5) browser.
Code box test:
import time

def time_code():
   start = time.clock()
   time.sleep(5)
   end = time.clock()
   print 'Code time {:.2f} seconds'.format(end - start)

time_code()
Output:
line 1 line 2 line 3
Error:
line 1 line 2 line 3
Test of inline 13245 code.
#16
Good catch @[snippsat]!
Now only if I can figure out how to do that on my phone...

EDIT: Found the clear cache option in Chrome settings
#17
After ctrl + f5, the first issue still happens (the second not). You can reproduce by quoting your post #2 here and in the WYSIWIG editor you will see italic and code rendered when it's not supposed to

Also the issue from the other thread seems to still happen (depending on browser size)
#18
(Dec-10-2016, 06:36 PM)Kebap Wrote: in the WYSIWIG editor you will see italic and code rendered when it's not supposed to
Can't take credit for that one; the WYSIWYG editor wasn't displaying correctly before my edits either, as it only supports MyBB's default tags.

Fixing it would require modifying the code of the editor itself to add the new tags, and quite frankly, I have no interest in doing that, as I neither like nor use the WYSIWYG editor.
I might do it at a later time, although I wouldn't count on it...
#19
We have now two threads for discussing the same functionality. In order to prevent confusion, I will close this one and encourage you to continue there: http://python-forum.io/Thread-Inline-code-tag?page=3


Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Verify users plugin itsmeJAY 3 2,709 Jun-22-2019, 09:11 PM
Last Post: metulburr
  simple solved plugin metulburr 47 15,118 May-18-2019, 11:00 AM
Last Post: metulburr
  solved prefix tag/ mysupport plugin metulburr 13 7,241 Mar-30-2019, 07:02 PM
Last Post: micseydel
  testing support plugin metulburr 9 4,600 Mar-21-2019, 11:48 AM
Last Post: metulburr
  People Not Using Code Tags micseydel 16 8,147 Dec-09-2017, 06:49 AM
Last Post: micseydel
  Just a trial. For learning code tags sylas 3 3,688 Sep-25-2017, 11:41 AM
Last Post: metulburr
  Please use code tags Larz60+ 28 15,663 Apr-06-2017, 09:47 PM
Last Post: metulburr
  Adding YourCode plugin metulburr 1 3,815 Mar-23-2017, 02:17 PM
Last Post: metulburr_testing
  Do not know how to add "Code Tags" or "Error Tags" to my submissions mattkrebs 2 3,697 Mar-21-2017, 04:15 PM
Last Post: metulburr
  support plugin solved/best answer/etc metulburr_testing 12 9,310 Oct-08-2016, 04:29 PM
Last Post: Kebap

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020